Programmers learn & share
0 votes
174 views

Problem :

I am getting bellow error message

java.net.socketexception: socket failed: eacces (permission denied)

by (6.9k points)   | 174 views

1 Answer

0 votes

Solution :

I had faced the issue and i changed permissions as bellow 
<uses-permission android:name="android.permission.INTERNET"/>

And also change your activity names as bellow

<activity android:name=".Addfriend"/>
    <activity android:name=".UpdateDetails"/>
    <activity android:name=".Details"/>
    <activity android:name=".Updateimage"/>
After doing above changes my issue got resolved.

Further Readings:

by (36.1k points)  
2,183 questions
2,488 answers
59 comments
241 users