java.net.UnknownHostException

tip

This is a bug that happens in Slide in versions 4.2.0 and before. Update to 4.2.2 or further to fix it.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • AndEngine Third time I setText it crashes
    via Stack Overflow by Zarokhan
    ,
  • Android Log.X not printing stacktrace
    via Stack Overflow by ajostergaard
    ,
  • Cannot send data from Android to PHP
    via Stack Overflow by omi0301
    ,
    • java.net.UnknownHostException: Unable to resolve host "sairav.pythonanywhere.comhttp": No address associated with hostname Note : I have already reset the Wifi connection and run again (on searching other similar questions) , but the problem persists. Logcat : 24154-24228/com.example.sairav.moneytor W/System.err: java.net.UnknownHostException: Unable to resolve host "sairav.pythonanywhere.comhttp": No address associated with hostname at java.net.InetAddress.lookupHostByName(InetAddress.java:440) at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252) at java.net.InetAddress.getAllByName(InetAddress.java:215) at cz.msebera.android.httpclient.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:44) at cz.msebera.android.httpclient.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259) at cz.msebera.android.httpclient.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159) at cz.msebera.android.httpclient.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:145) at cz.msebera.android.httpclient.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131) at cz.msebera.android.httpclient.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) at cz.msebera.android.httpclient.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) at cz.msebera.android.httpclient.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:860) at cz.msebera.android.httpclient.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at com.loopj.android.http.AsyncHttpRequest.makeRequest(AsyncHttpRequest.java:146) at com.loopj.android.http.AsyncHttpRequest.makeRequestWithRetries(AsyncHttpRequest.java:177) at com.loopj.android.http.AsyncHttpRequest.run(AsyncHttpRequest.java:106)

    Users with the same issue

    Hiren Amaliyar
    1 times, last one,
    Unknown User
    4 times, last one,
    winer222
    118 times, last one,
    filpgame
    1 times, last one,
    malhobayyeb
    1 times, last one,
    142 more bugmates