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
Post a Comment