java.lang.RuntimeException

Unable to start activity ComponentInfo{com.example.george.droidnet/com.example.george.droidnet.TcpConfigActivity}: android.os.NetworkOnMainThreadException


Solutions on the web38025

Solution icon of stackoverflow
via Stack Overflow by miatech
, 6 months ago
Unable to start activity ComponentInfo{com.example.george.droidnet/com.example.george.droidnet.TcpConfigActivity}: android.os.NetworkOnMainThreadException

Solution icon of stackoverflow
Unable to start activity ComponentInfo{SignUp}: android.os.NetworkOnMainThreadException

Solution icon of github
via GitHub by dasmikko
, 1 year ago
Unable to start activity ComponentInfo{com.ankerapps.xkcdmaterial/com.ankerapps.xkcdmaterial.MainActivity}: android.os.NetworkOnMainThreadException

Solution icon of github
Unable to start activity ComponentInfo{edu.berkeley.cs.sdb.cellmate/edu.berkeley.cs.sdb.cellmate.MainActivity}: android.os.NetworkOnMainThreadException

Solution icon of github
via GitHub by Lineflyer
, 11 months ago
Unable to start activity ComponentInfo{cgeo.geocaching/cgeo.geocaching.LogCacheActivity}: android.os.NetworkOnMainThreadException

Solution icon of stackoverflow
via Stack Overflow by imran
, 1 year ago
Unable to start activity ComponentInfo{com.regsiteration.regfi/com.regsiteration.regfi.Main}: android.os.NetworkOnMainThreadException

Solution icon of stackoverflow
via Stack Overflow by Droid Beginner
, 1 year ago
Unable to start activity ComponentInfo{in.wptrafficanalyzer.actionbarsherlocknavtab/in.wptrafficanalyzer.actionbarsherlocknavtab.MainActivity}: android.os.NetworkOnMainThreadException

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.android.fragments/com.example.android.fragments.MainActivity}: android.os.NetworkOnMainThreadException

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.network/com.example.network.MainActivity}: android.os.NetworkOnMainThreadException

Solution icon of stackoverflow
Unable to start activity ComponentInfo{app/app.MainActivity}: android.os.NetworkOnMainThreadException

Stack trace

  • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.george.droidnet/com.example.george.droidnet.TcpConfigActivity}: android.os.NetworkOnMainThreadException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

7 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 7 months ago
3 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
104 more bugmates