android.os.NetworkOnMainThreadException

androidrefer.com | 3 months ago
  1. 0

    Android FAQ: making HTTP Requests | AndroidRefer!

    androidrefer.com | 3 months ago
    android.os.NetworkOnMainThreadException
  2. 0

    Getting logcat errors using httpclient on Android

    Stack Overflow | 4 years ago | philip
    android.os.NetworkOnMainThreadException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Android NetworkOnMainThreadException AsyncTask

    Stack Overflow | 2 years ago | I Was So Lost
    android.os.NetworkOnMainThreadException

  1. dealloc 2 times, last 2 weeks ago
  2. Alexandru Popa 3 times, last 3 weeks ago
  3. filpgame 1 times, last 4 weeks ago
  4. jk 5 times, last 7 months ago
  5. zildjiandm 2 times, last 8 months ago
12 more registered users
21 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.os.NetworkOnMainThreadException

    No message provided

    at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork()
  2. Android Platform
    StrictMode$AndroidBlockGuardPolicy.onNetwork
    1. android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1099)
    1 frame
  3. Android
    IoBridge.connect
    1. libcore.io.BlockGuardOs.connect(BlockGuardOs.java:84)
    2. libcore.io.IoBridge.connectErrno(IoBridge.java:127)
    3. libcore.io.IoBridge.connect(IoBridge.java:112)
    3 frames
  4. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
    2. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
    3. java.net.Socket.connect(Socket.java:842)
    3 frames
  5. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
    2. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:144)
    3. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
    4. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
    5. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
    6. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
    7. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
    8. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
    8 frames
  6. k.k.k
    KrishnaActivity.onCreate
    1. k.k.k.KrishnaActivity.onCreate(KrishnaActivity.java:51)
    1 frame
  7. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:4465)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
    3 frames