java.lang.SecurityException: Neither user 10012 nor current process has android.permission.ACCESS_COARSE_LOCATION.

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 stackexchange.com by Unknown author, 2 years ago
Neither user 10012 nor current process has android.permission.ACCESS_COARSE_LOCATION.
via Stack Overflow by p.dario
, 2 years ago
Neither user 10012 nor current process has android.permission.ACCESS_COARSE_LOCATION.
via stackexchange.com by Unknown author, 1 year ago
Neither user 10012 nor current process has android.permission.ACCESS_COARSE_LOCATION.
via Android Enthusiasts by p.dario
, 1 year ago
Neither user 10012 nor current process has android.permission.ACCESS_COARSE_LOCATION.
via GitHub by jbaginski
, 1 year ago
Requires READ_PHONE_STATE: Neither user 10323 nor current process has android.permission.READ_PHONE_STATE.
via Stack Overflow by Debdeep
, 11 months ago
Neither user 9801 nor current process has android.permission.ACCESS_COARSE_LOCATION.
java.lang.SecurityException: Neither user 10012 nor current process has android.permission.ACCESS_COARSE_LOCATION.
at android.os.Parcel.readException(Parcel.java:1425)
at android.os.Parcel.readException(Parcel.java:1379)
at undefined.ekv.a(SourceFile:53)
at com.google.android.location.os.real.SdkSpecific8.a(SourceFile:62)
at undefined.ekl.handleMessage(SourceFile:187)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at undefined.eko.run(SourceFile:804)
at java.lang.Thread.run(Thread.java:856)

Users with the same issue

Once, 4 days ago
Once, 1 month ago
Once, 1 month ago
Once, 1 month ago
7 times, 1 month ago

Write tip

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