I wrote a simple Hello World app to debug some permissions problem I'm having.
The problem is that my app can't obtain permissions to use anything. Yes, I'm using
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
and yes I put that tag right under <manifest>
in AndroidManifest.xml
If I remove all <uses-permission>
tags from the manifest and go to Settings > Apps > TestApp
, it says No permissions requested
If I put the tags back in, it says No permissions granted
If I debug on an actual device, it says the permissions are there so it looks like this problem is only occurring on the emulator! However, it also works when I run the android-play-location/LocationUpdates
project from developer.android.com using the same emulator so maybe there's something wrong with my project setup.
Any ideas?
- IDE: Android Studio
- Virtual Device: Nexus_5_API_23
- OS: guest Ubuntu 14.04 running on host OS X Yosemite (VMWare Fusion)