java.lang.RuntimeException: Unable to start activity ComponentInfo{k.k.k/k.k.k.KrishnaActivity}: android.os.NetworkOnMainThreadException

androidrefer.com | 3 months ago
  1. 0

    Android FAQ: making HTTP Requests | AndroidRefer!

    androidrefer.com | 3 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{k.k.k/k.k.k.KrishnaActivity}: android.os.NetworkOnMainThreadException
  2. 0

    Unable to find the Null pointer exception

    Stack Overflow | 3 years ago | Meghs
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.fouractivities/com.example.fouractivities.ImageSlider}: java.lang.NullPointerException
  3. 0

    FFMPEG: Merge Image and Audio Convert into Video in android using FFMPEG library

    Stack Overflow | 4 years ago | Nitish Singla
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myfmpeg/com.example.myfmpeg.Mpeg}: java.lang.RuntimeException: java.io.IOException: Error running exec(). Command: [ffmpeg, -i, /mnt/sdcard/smile.png, -i, /mnt/sdcard/RABBA.MP3, -acodec, copy, /mnt/sdcard/video.mp4] Working Directory: null Environment: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TabHost defined in layout is giving NullPointerException during setContent

    Stack Overflow | 4 years ago | Jeff Axelrod
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.apis/com.example.android.apis.view.Tabs1}: java.lang.NullPointerException
  6. 0

    Unable to read the HTML contents from a URL in Android

    Stack Overflow | 4 years ago | JJPA
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.adn/com.adn.REEActivity}: java.lang.NullPointerException

  1. bmacedo 1 times, last 3 weeks ago
  2. VeryRedChris 23 times, last 1 month ago
  3. franky li 6 times, last 1 month ago
  4. filpgame 27 times, last 1 month ago
  5. ajinkya_w 61 times, last 2 months ago
46 more registered users
43 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. java.lang.RuntimeException

    Unable to start activity ComponentInfo{k.k.k/k.k.k.KrishnaActivity}: android.os.NetworkOnMainThreadException

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
    3. android.app.ActivityThread.access$600(ActivityThread.java:123)
    4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
    5. android.os.Handler.dispatchMessage(Handler.java:99)
    6. android.os.Looper.loop(Looper.java:137)
    7. android.app.ActivityThread.main(ActivityThread.java:4424)
    7 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  4. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
    2 frames
  5. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame