使用glide加载网络图片报错class java.net.SocketException: socket failed: EPERM (Operation not permitted)的解决
最近在使用glide加载网络图片运行的时候,一直加载不了,总是报class java.net.SocketException: socket failed: EPERM (Operation not permitted)这个错。
已经在AndroidManifest.xml里面加上网络请求权限,而且application里面添加了android:usesCleartextTraffic="true"依然没有作用。
最后卸载apk,重新打包运行,就可以加载了。
哪位大神要是知道其中的原因,请留言,不慎感激!