android.os.NetworkOnMainThreadException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • loopj RequestHandle crash on cancel
    via Stack Overflow by Abdullah Umer
    ,
    • android.os.NetworkOnMainThreadException at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1117) at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.close(OpenSSLSocketImpl.java:908) at org.apache.http.impl.SocketHttpClientConnection.shutdown(SocketHttpClientConnection.java:183) at org.apache.http.impl.conn.DefaultClientConnection.shutdown(DefaultClientConnection.java:150) at org.apache.http.impl.conn.AbstractPooledConnAdapter.shutdown(AbstractPooledConnAdapter.java:169) at org.apache.http.impl.conn.AbstractClientConnAdapter.abortConnection(AbstractClientConnAdapter.java:378) at org.apache.http.impl.client.DefaultRequestDirector.abortConnection(DefaultRequestDirector.java:1031) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:530) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509) at com.google.android.gms.analytics.h.a(Unknown Source) at com.google.android.gms.analytics.h.a(Unknown Source) at com.google.android.gms.analytics.ag.dispatch(Unknown Source) at com.google.android.gms.analytics.w.eD(Unknown Source) at com.google.android.gms.analytics.w.dispatch(Unknown Source) at com.google.android.gms.analytics.x$b.run(Unknown Source) at com.google.android.gms.analytics.x.dY(Unknown Source) at com.google.android.gms.analytics.GoogleAnalytics.dY(Unknown Source) at com.google.android.gms.analytics.ExceptionReporter.uncaughtException(Unknown Source) at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693) at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690) at dalvik.system.NativeStart.main(Native Method)

    Users with the same issue

    Hiren Amaliyar
    5 times, last one,
    Indri Yunita
    6 times, last one,
    justCodeit
    34 times, last one,
    Adrien
    4 times, last one,
    filpgame
    1 times, last one,
    38 more bugmates