java.lang.RuntimeException: Unable to start activity ComponentInfo{com.bmassey.android.jbaeapp/com.bmassey.android.jbaeapp.MainActivity}: android.os.NetworkOnMainThreadException

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Ben Massey
, 1 year ago
Unable to start activity ComponentInfo{com.bmassey.android.jbaeapp/com.bmassey.android.jbaeapp.MainActivity}: android.os.NetworkOnMainThreadException
via Stack Overflow by Solo
, 4 months ago
Unable to start activity ComponentInfo{SignUp}: android.os.NetworkOnMainThreadException
via GitHub by TheGlave
, 11 months ago
Unable to start activity ComponentInfo{com.example.ahok.thyssenkrupp_navigation/com.example.ahok.thyssenkrupp_navigation.UI_MainActivity}: android.os.NetworkOnMainThreadException
via GitHub by sergiocastell
, 11 months ago
Unable to start activity ComponentInfo{rom.stalker/browser.afh.MainActivity}: android.os.NetworkOnMainThreadException
via Stack Overflow by Juan Pablo
, 1 year ago
Unable to start activity ComponentInfo{com.example.picki.ferreteriacampos/com.example.picki.ferreteriacampos.acomodarp}: android.os.NetworkOnMainThreadException
via Stack Overflow by perez
, 8 months ago
Unable to start activity ComponentInfo{app.com.example.perez.sunshine/app.com.example.perez.sunshine.MainActivity}: android.os.NetworkOnMainThreadException
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.bmassey.android.jbaeapp/com.bmassey.android.jbaeapp.MainActivity}: android.os.NetworkOnMainThreadException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

16 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
10 times, 1 year ago
114 times, 1 year ago
6 times, 1 year ago
111 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.