[英]Android Java throws java.net.SocketException: socket failed: EPERM (Operation not permitted)
When I call the REST API request I'm getting the following error message:当我调用 REST API 请求时,我收到以下错误消息:
java.net.SocketException: socket failed: EPERM (Operation not permitted)
this happened due to some uncleared memory or cache of emulator.这是由于一些未清除的 memory 或模拟器缓存造成的。 uninstall and rerun the program, this was fixed.
卸载并重新运行程序,这是固定的。 also the rest api url must be https.
rest api url 也必须是 https。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.