Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It giving me error in onResume() " Caused by: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission." though i have given permission in manifest file #14

Closed
sagarchaure21 opened this issue Dec 21, 2016 · 1 comment
Labels

Comments

@sagarchaure21
Copy link

No description provided.

@ocram ocram added the question label Dec 21, 2016
@ocram
Copy link
Contributor

ocram commented Dec 21, 2016

This error message is pretty specific: The required permission is not there. It's really as simple as that.

First check your manifest file and confirm that you've added the permission correctly.

Apart from that, it could only be caused by the runtime permissions which have been introduced in Android 6.0. So if your android:targetSdkVersion is set to 23 or above, you will have to implement the runtime permissions. If you don't want to do that, you have to decrease the target version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants