java.lang.SecurityException: "gps" 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

MANAGE_USERS has a protection level of signature|system, so your application must be signed with the platform key. Take a look on this https://goo.gl/nXsTvH for more information about it.

,
via android.com by Unknown author

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

Solutions on the web

via xiialive.com by Unknown author, 1 year ago
"gps" location provider requires ACCESS_FINE_LOCATION permission.
via Stack Overflow by yanqing mo
, 11 months ago
Permission Denial: starting Intent { cmp=com.example.definepermission/.MainActivity } from ProcessRecord{ad97706 4109:com.example.redfinepermission/u0a89} (pid=4109, uid=10089) requires com.example.permission.test.permissionA
via GitHub by bleege
, 1 year ago
"passive" location provider requires ACCESS_FINE_LOCATION permission.
via Stack Overflow by liv_fc
, 11 months ago
Permission Denial: starting Intent { act=android.intent.action.SEND_MULTIPLE typ=image/* flg=0x3 cmp=com.google.android.gm/.ComposeActivityGmail clip={image/* U:file:///storage/emulated/0/Mydir/myfile20161213105548.jpg} (has extras) } from ProcessRecord{cc9833c 18570:com.myappdr/u0a341} (pid=18570, uid=10341) not exported from uid 10050
via Stack Overflow by Hafiz.M.Usman
, 2 years ago
Permission Denial: attempt to change component state from pid=19832, uid=10158, package uid=10143
via Stack Overflow by user3697451
, 2 years ago
Permission Denial: starting Intent { act=android.intent.action.VIEW dat=https://plus.google.com/+XXX flg=0x3000000 cmp=com.google.android.apps.plus/com.google.android.libraries.social.gateway.GatewayActivity } from ProcessRecord{42d70208 19920:com.XXX.todo/u0a226} (pid=19920, uid=10226) not exported from uid 10066
java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
at android.os.Parcel.readException(Parcel.java:1620)
at android.os.Parcel.readException(Parcel.java:1573)
at android.location.ILocationManager$Stub$Proxy.getLastLocation(ILocationManager.java:799)
at com.vblast.dir.g.e(SourceFile:177)
at com.vblast.dir.g.d(SourceFile:75)
at com.vblast.dir.uberstations.b.onPreExecute(SourceFile:240)
at com.vblast.dir.uberstations.b.a(SourceFile:226)
at com.vblast.dir.uberstations.DirService.a(SourceFile:123)
at com.vblast.dir.AbstractDirService.onStartCommand(SourceFile:85)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4062)
at android.app.ActivityThread.access$2400(ActivityThread.java:221)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1897)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Users with the same issue

9 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 10 hours ago
Samebug visitor profile picture
Unknown user
Once, 2 days ago
2 times, 2 days ago

Write tip

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