更新时间:2022-11-05 12:28:44
您正在尝试在主机上执行网络操作线程,这是为了避免阻塞UI。有关详细信息,请参见 NetworkOnMainThreadException的文档。
You are attempting to perform a network operation on the main thread, which is forbidden to avoid blocking the UI. See the documentation of NetworkOnMainThreadException for details.