android.os.NetworkOnMainThreadException

Stack Overflow | Destroy | 4 months ago
  1. 0

    ZeroMQ On Android Java ( Android Studio )

    Stack Overflow | 4 months ago | Destroy
    android.os.NetworkOnMainThreadException
  2. 0

    How to connect to an OSC server from Android?

    Stack Overflow | 4 years ago | George Profenza
    android.os.NetworkOnMainThreadException
  3. 0

    UDP android application works on HTC but not Nexus S

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

    Automated exception search integrated into your IDE

  5. 0

    How to make an udp connection in android

    Stack Overflow | 4 years ago | Fatih POLAT
    android.os.NetworkOnMainThreadException
  6. 0

    networking issues on Honeycomb and higher

    Stack Overflow | 4 years ago | user802479
    android.os.NetworkOnMainThreadException

  1. bluebunnty 2 times, last 1 week ago
  2. dealloc 2 times, last 2 weeks ago
  3. Aria Pahlavan 8 times, last 2 weeks ago
  4. Alexandru Popa 3 times, last 3 weeks ago
  5. filpgame 1 times, last 4 weeks ago
13 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:1145)
    1 frame
  3. Android
    IoBridge.sendto
    1. libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:168)
    2. libcore.io.IoBridge.sendto(IoBridge.java:490)
    2 frames
  4. Java RT
    PipeImpl$PipeSinkChannel.write
    1. java.nio.SocketChannelImpl.writeImpl(SocketChannelImpl.java:391)
    2. java.nio.SocketChannelImpl.write(SocketChannelImpl.java:349)
    3. java.nio.PipeImpl$PipeSinkChannel.write(PipeImpl.java:114)
    3 frames
  5. JeroMQ
    ZMQ$Socket.connect
    1. zmq.Signaler.send(Signaler.java:121)
    2. zmq.Mailbox.send(Mailbox.java:85)
    3. zmq.Ctx.sendCommand(Ctx.java:388)
    4. zmq.ZObject.sendCommand(ZObject.java:362)
    5. zmq.ZObject.sendPlug(ZObject.java:171)
    6. zmq.ZObject.sendPlug(ZObject.java:161)
    7. zmq.Own.launchChild(Own.java:126)
    8. zmq.SocketBase.addEndpoint(SocketBase.java:550)
    9. zmq.SocketBase.connect(SocketBase.java:542)
    10. org.zeromq.ZMQ$Socket.connect(ZMQ.java:1246)
    10 frames
  6. mia.face.id
    MainActivity$1.onClick
    1. mia.face.id.zmqtestest.MainActivity$1.onClick(MainActivity.java:34)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4438)
    2. android.view.View$PerformClick.run(View.java:18422)
    3. android.os.Handler.handleCallback(Handler.java:733)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:136)
    6. android.app.ActivityThread.main(ActivityThread.java:5017)
    6 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:813)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
    2 frames
  10. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame