android.os.NetworkOnMainThreadException: This exception has no message.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
android.os.NetworkOnMainThreadException:
at java.net.InetAddress.lookupHostByName(InetAddress.java:385)
at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)

Users with the same issue

Once, 1 day ago
Samebug visitor profile picture
Unknown user
2 times, 1 month ago
3 times, 4 months ago
6 times, 8 months ago
34 times, 8 months ago

Write tip

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