java.lang.SecurityException: "passive" location provider requires ACCESS_FINE_LOCATION permission.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Android SDK 23 introduced a new way to handle permissions, so as a temporary workaround you can set it to build for SDK below 23. As a permanent solution you have to ask user during runtime for permissions with checkSelfPermission() or requestPermissions()

,
via android.com by Unknown author

You need to request READ_PHONE_STATE permissions before using of this method.

Solutions on the web

via mozilla.com by Unknown author, 10 months ago
"passive" location provider requires ACCESS_FINE_LOCATION permission.
via mozilla.com by Unknown author, 1 year ago
"gps" location provider requires ACCESS_FINE_LOCATION permission.
via GitHub by JakeWharton
, 1 year ago
Injecting to another application requires INJECT_EVENTS permission
via GitHub by JakeWharton
, 1 year ago
Injecting to another application requires INJECT_EVENTS permission
via Stack Overflow by styler1972
, 2 years ago
Injecting to another application requires INJECT_EVENTS permission
via Stack Overflow by Akis
, 5 months ago
Client must have ACCESS_FINE_LOCATION permission to request PRIORITY_HIGH_ACCURACY locations. 05-30 10:50:40.516 32177-32177/com.example.notepad.isidorosioannou.notepad
java.lang.SecurityException: "passive" location provider requires ACCESS_FINE_LOCATION permission.

Users with the same issue

Once, 1 year ago
14 times, 1 year ago
16 times, 1 year ago
5 times, 1 year ago
2 times, 1 year ago
249 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.