java.net.SocketException: socket failed: EPERM (Operation not permitted)

后端 未结 8 1238
轮回少年
轮回少年 2020-11-28 05:22

I am working on an Android Studio project with several activities. I am currently trying to read the output from a Java Servlet on localhost but it seems to be crashing due

8条回答
  •  心在旅途
    2020-11-28 06:05

    Set android:usesCleartextTraffic="true" in the manifest file. Add the permission INTERNET. Uninstall app and then install again.

提交回复
热议问题