java.lang.SecurityException: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results

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.

,
Expert tip

You need the permission android.permission.READ_EXTERNAL_STORAGE. Write <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> on the Android Manifest

Solutions on the web

via GitHub by Jai-GAY
, 9 months ago
Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
via GitHub by hemapanjakshram
, 5 months ago
Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
via GitHub by kapilojha
, 4 months ago
Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
via GitHub by kapilojha
, 4 months ago
Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
via GitHub by msudol
, 1 year ago
Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
via Stack Overflow by Pushpender
, 6 months ago
Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
java.lang.SecurityException: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
at android.os.Parcel.readException(Parcel.java:1620)
at android.os.Parcel.readException(Parcel.java:1573)
at android.bluetooth.IBluetoothGattCallback$Stub.onTransact(IBluetoothGattCallback.java:56)
at android.os.Binder.execTransact(Binder.java:453)

Users with the same issue

Once, 1 day ago
Once, 4 weeks 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.