app功能接口正常,其他手机运行OK,但是在Android9.0的手机上报错
CLEARTEXT communication to 192.168.1.xx not permitted by network security policy'
无法加载数据
原因是因为android9.0开始必须https,和iOS10一样的规定。
解决办法如下,在manifest.xml的application节点下:
android:usesCleartextTraffic="true"
app功能接口正常,其他手机运行OK,但是在Android9.0的手机上报错
CLEARTEXT communication to 192.168.1.xx not permitted by network security policy'
无法加载数据
原因是因为android9.0开始必须https,和iOS10一样的规定。
解决办法如下,在manifest.xml的application节点下:
android:usesCleartextTraffic="true"
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。