android9.0适配HTTPS:not permitted by network security policy'
作者:互联网
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"
标签:network,HTTPS,适配,android9.0,policy,security,permitted 来源: https://www.cnblogs.com/Sharley/p/10735170.html