它可能对某人有用。
我们最近在android 9上遇到了同样的问题,但是我们只需要在webview中显示一些url,没有什么特别的。所以添加 android:usesCleartextTraffic="true" 显式成功了,但我们不想为此损害整个应用程序的安全性。 所以修复方法是从 http 到 https
android:usesCleartextTraffic="true"
http
https