ErrnoException: isConnected failed

0

I'm developing an Android app with a webservice locally.

When I run the Android application in an emulator, no error occurs, but when I run the application on a device, it gives the following error:

  

Caused by: libcore.io.ErrnoException: isConnected failed: EHOSTUNREACH   (No route to host)

Any suggestions to solve this problem? Thank you in advance.

    
asked by anonymous 28.02.2018 / 19:09

0 answers