Androidtesting timeout

Please I need help with my repository android test. It does launch successfully however I get this error “”
I have search google,StackOverflow but could not get anything solid
Any help will be very appreciated.

It sounds like you don’t have any network available. Can post a stack trace and your test code pls.

1 Like

Hello I solved it by removing “verifyNoInteractions(preferences)”.It was why I was getting the error.Thanks for checking out my checking out my question.

1 Like

I am also getting a SocketTimeoutException while using the testing method authenticatorInterceptor_expiredToken() from Ch. 4. I was not able to fix the issue by removing verifyNoInteractions(preferences). Has anyone else faced an issue running the test example from the Ch. 4?

Make sure all your dependencies are updated.