简体   繁体   English

Android Java 抛出 java.net.SocketException:套接字失败:EPERM(不允许操作)

[英]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.

相关问题 java.net.SocketException:套接字失败:EPERM(不允许操作) - java.net.SocketException: socket failed: EPERM (Operation not permitted) 未解决的 java.net.SocketException:套接字失败:EPERM(不允许操作) - Un-resolved java.net.SocketException: socket failed: EPERM (Operation not permitted) java.net.SocketException:套接字失败:EPERM 操作不允许,尽管 AndroidManifest 中有许可 - java.net.SocketException: socket failed: EPERM Operation not permitted although AndroidManifest have permits in it Android java.net.SocketException:套接字失败 - Android java.net.SocketException: socket failed java.net.SocketException:套接字失败:EACCES(权限被拒绝) - java.net.SocketException: socket failed: EACCES (Permission denied) Android:套接字-java.net.SocketException:sendto失败:EPIPE(管道断开) - Android : Socket - java.net.SocketException: sendto failed: EPIPE (Broken pipe) java.net.SocketException:套接字失败:Android Studio 中的 EACCES(权限被拒绝) - java.net.SocketException: socket failed: EACCES (Permission denied) in Android Studio java.net.SocketException:sendto失败:Android上的EPIPE(管道断开) - java.net.SocketException: sendto failed: EPIPE (Broken pipe) on Android Android java.net.SocketException:套接字失败:通过Web服务将值插入SQL Server时,EACCES(权限被拒绝) - Android java.net.SocketException: socket failed: EACCES (Permission denied) while inserting value into sql server through Web service Java程序可在Windows上运行,但会在Raspberry上引发java.net.SocketException - Java program works on windows, but throws java.net.SocketException on a Raspberry
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM