1. Explore
  2. »
  3. Android
  4. »
  5. android.os
  6. »
  7. StrictMode$AndroidBlockGuardPolicy
  8. »
  9. onNetwork
  10. »
  11. NetworkOnMainThreadException

android.osNetworkOnMainThreadException errorsAndroid

DescriptionException TypeEntry MethodWeb pages

Executed network call on the main thread

android.os.NetworkOnMainThreadException
android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork
1070Web pages
1Solution
NetworkOnMainThreadExceptionStrictMode$AndroidBlockGuardPolicy.onNetwork1070

StrictMode$AndroidBlockGuardPolicy.onNetwork() has thrown a StrictMode$StrictModeNetworkViolation

android.os.StrictMode$StrictModeNetworkViolation
android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork
8Web pages
StrictMode$StrictModeNetworkViolationStrictMode$AndroidBlockGuardPolicy.onNetwork8