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


Solutions on the web17634

Solution icon of stackoverflow
via Stack Overflow by miatech
, 8 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 stackoverflow
Unable to start activity ComponentInfo{com.bassem.donateme/com.bassem.donateme.profile}: android.os.NetworkOnMainThreadException

Solution icon of github
via GitHub by sergiocastell
, 10 months ago
Unable to start activity ComponentInfo{rom.stalker/browser.afh.MainActivity}: android.os.NetworkOnMainThreadException

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

Solution icon of stackoverflow
via Stack Overflow by sergio
, 3 months ago
Unable to start activity ComponentInfo{es.my.app/es.my.app.MainActivity}: android.os.NetworkOnMainThreadException

Solution icon of stackoverflow
via Stack Overflow by humam
, 2 months ago
Unable to start activity ComponentInfo{com.onecode.humam.myapplication/com.onecode.humam.myapplication.MainActivity}: android.os.NetworkOnMainThreadException

Solution icon of github
via GitHub by TheGlave
, 10 months ago
Unable to start activity ComponentInfo{com.example.ahok.thyssenkrupp_navigation/com.example.ahok.thyssenkrupp_navigation.UI_MainActivity}: android.os.NetworkOnMainThreadException

Solution icon of stackoverflow
via Stack Overflow by Sasaman
, 1 year ago
Unable to start activity ComponentInfo{com.testapp.alex.testmaapp/com.testapp.alex.testmaapp.SumActivity}: android.os.NetworkOnMainThreadException

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.picki.ferreteriacampos/com.example.picki.ferreteriacampos.acomodarp}: 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

Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
7 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
3 times, 9 months ago
109 more bugmates