admin管理员组

文章数量:1571154

本文档为个人博客文档系统的备份版本、作者:小游、作者博客:点击访问

安卓9.0默认不允许http请求

我们可以在APPlocation里面加上 android:usesCleartextTraffic="true"

但是我的是https的连接,所以应该不是这个问题,后面我看了一下错误结果如下
java.SocketException: socket failed: EPERM

emm最后找了半天发现卸载软件后重新安装就没问题了。。。。。

这模拟器是真的坑!

参考文章
https://www.jianshu/p/289be7794e24

还有可以参考
https://stackoverflow/questions/39933345/no-network-security-config-specified-using-platform-default-android-log/61535399#61535399

have a same problem, with volley, but this is my solution:

In Android Manifiest, in tag application add:

android:usesCleartextTraffic="true"
android:networkSecuri

本文标签: 互联网解决方案androidhttp