无法使用https的情况下允许http请求,在Manifest.xml中加上:
android:usesCleartextTraffic="true"
要记得申请权限: 参考:https://blog.csdn.net/weixin_30877755/article/details/99263427
本文来自博客园,作者:Mz1,转载请注明原文链接:https://www.cnblogs.com/Mz1-rc/p/15224997.html
如果有问题可以在下方评论或者email:mzi_mzi@163.com