Cette page n'est pas encore disponible dans votre langue. Nous nous efforçons d'ajouter d'autres langues. Nous vous remercions de votre compréhension.

On this page

Show all

NetworkOnMainThreadException

Updated on 2024-03-07 GMT+08:00

Error "NetworkOnMainThreadException" usually occurs when a network request is in the MainThread class. To avoid this problem, it is recommended that time-consuming network requests be placed in a sub-thread. Then, use the handler to communicate with the main thread.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback