android http无法访问 报错Response failed, error buffer: connect failed

之前就遇到过这个问题 时间久了就忘了 。web端正常访问,打包安卓http访问报错 Response failed, error buffer: connect failed 。百度了一下解决办法在AnroidManifest.xml中的application中设置 android:usesCleartextTraffic=“true” 标记一下让后面的兄弟少踩坑 。 参考资料

你的这个api target多少的?

我去 真坑,添加上之后就可以了