Android之EACCES (Permission denied)与Permission denied
Android之EACCES (Permission denied)与Permission denied
1.最直接的就是java.net.ConnectException: socket failed: EACCES (Permission denied)异常,这个只需要在AndroidManifest.xml中加上:
<uses-permission android:name="android.permission.INTERNET"/>
参考:
https://www.likecs.com/show-307936786.html
欢迎讨论,相互学习。
cdtxw@foxmail.com