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.