views:

4537

answers:

1

I get the following Exception running my app:

java.net.SocketException: Permission denied (maybe missing INTERNET permission)

How do I solve the missing permission problem?

+30  A: 

Add the INTERNET permission to your manifest file.

You have to add this line:

<uses-permission android:name="android.permission.INTERNET" /> 

outside the application tag in your AndroidManifest.xml

Nikola Smiljanić
Wow, so if you actually read the error message, the problem is solved? Who would have thunk it...
jrockway
:) I just thought this informatin does not come up on the first google page maybe it would help others to put the question up here.
Janusz
it helped me...thanks :)
Kyle
I got more then 2500 views. I think this are at least 1500 people that very quick found a short and precise answer to there question. So no reason to complain about to easy questions.
Janusz

related questions