java.lang.SecurityException: Client must have ACCESS_FINE_LOCATION permission to request PRIORITY_HIGH_ACCURACY locations.

GitHub | hurzl | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp and rafael . Or join the community to write better ones.
  1. 0

    GitHub comment 131#245755721

    GitHub | 7 months ago | hurzl
    java.lang.SecurityException: Client must have ACCESS_FINE_LOCATION permission to request PRIORITY_HIGH_ACCURACY locations.
  2. 0
    samebug tip
    You should add the permission android.permission.READ_EXTERNAL_STORAGE to your manifest file.
  3. 0
    samebug 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 goo.gl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Gradle build problem with Android client | websmithing

    websmithing.com | 12 months ago
    java.lang.SecurityException: Client must have ACCESS_FINE_LOCATION permission to request PRIORITY_HIGH_ACCURACY locations.
  6. 0

    SecurityException when trying to access location when user has denied permission

    GitHub | 9 months ago | barbeau
    java.lang.SecurityException: Client must have ACCESS_FINE_LOCATION permission to request PRIORITY_HIGH_ACCURACY locations.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.SecurityException

    Client must have ACCESS_FINE_LOCATION permission to request PRIORITY_HIGH_ACCURACY locations.

    at android.os.Parcel.readException()
  2. Android Platform
    Parcel.readException
    1. android.os.Parcel.readException(Parcel.java:1620)
    2. android.os.Parcel.readException(Parcel.java:1573)
    2 frames
  3. com.google.android
    h.a
    1. com.google.android.gms.location.internal.ab.a(Unknown Source)
    2. com.google.android.gms.location.internal.af.a(Unknown Source)
    3. com.google.android.gms.location.internal.aj.a(Unknown Source)
    4. com.google.android.gms.location.internal.i.a(Unknown Source)
    5. com.google.android.gms.location.internal.i.a(Unknown Source)
    6. com.google.android.gms.b.aan.b(Unknown Source)
    7. com.google.android.gms.b.abd.c(Unknown Source)
    8. com.google.android.gms.b.abd.b(Unknown Source)
    9. com.google.android.gms.b.aby.b(Unknown Source)
    10. com.google.android.gms.b.abs.b(Unknown Source)
    11. com.google.android.gms.location.internal.h.a(Unknown Source)
    11 frames
  4. io.nlopez.smartlocation
    LocationGooglePlayServicesProvider.onConnected
    1. io.nlopez.smartlocation.location.providers.LocationGooglePlayServicesProvider.startUpdating(SourceFile:136)
    2. io.nlopez.smartlocation.location.providers.LocationGooglePlayServicesProvider.onConnected(SourceFile:177)
    2 frames