3 ms·
Attempting a network operation on the Android UI thread will throw the android.os.NetworkOnMainThreadException exception, and has done since API 11 (Honeycomb)
by pgs 3y ago
Attempting a network operation on the Android UI thread will throw the android.os.NetworkOnMainThreadException exception, and has done since API 11 (Honeycomb) in 2011.
https://developer.android.com/reference/android/os/NetworkOnMainThreadException https://developer.android.com/reference/android/os/NetworkOn...