SocketException - Permission Denied even though permissions are added in manifest file

  • Replies:1
  • OpenNot stickiedUnanswered
  • Forum posts: 1

May 17, 2018 10:07:37 AM via Website

I have added below permission in the AndroidManifest.xml.
uses-permission android:name="android.permission.INTERNET"

But still I am getting socketexception i.e., permission denied issue while I try to reach restful api. And also I tried disabling the firewall on the system where restful api is hosted.

Please let me know am I missing any configuration or any setting?

  • Forum posts: 848

May 17, 2018 11:08:26 AM via Website

You may simply send a GET request to your restful api with a web browser to verify if the api is actually available.

Apk size only 0.07 MB. Google Play -
App screenshots on Amazon Cloud -


Recommended articles