android - java.lang.SecurityException despite INTERNET permission being in the manifest -


i getting following error when run application on phone:

java.lang.securityexception: permission denied (missing internet permission?) 

i have added permission in manifest file follows:

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

i getting error when run app on phone. runs fine on genymotion emulator. read similar questions on before posting it. also, have made couple of apps before same permissions, , error had never occurred then. don't why android messing time.

p.s.: updated sdk tools before starting new application. somehow felt important mention it!

use small caps

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

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -