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
posted @ 2023-09-26 09:50  txwtech  阅读(252)  评论(0编辑  收藏  举报