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

xiialive.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Find user location failed / General Forum / XiiaLive™ - Internet Radio

    xiialive.com | 7 months ago
    java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
  2. 0

    SecurityException when calling getLastKnownLocation

    Stack Overflow | 4 years ago | twaddington
    java.lang.RuntimeException: Unable to resume activity {com.projectname/com.projectname.ui.AtmFinderActivity}: java.lang.SecurityException: invalid package name: com.google.android.gms
  3. 0

    Maps not working

    Stack Overflow | 5 years ago | Ram
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.mapss/com.example.mapss.MainActivity}: java.lang.SecurityException: Requires ACCESS_FINE_LOCATION permission
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error on getting gps location

    Stack Overflow | 5 years ago | João Nunes
    java.lang.SecurityException: Binder invocation to an incorrect interface
  6. 0

    Unable to get latitude and longitude in Android

    Stack Overflow | 4 years ago | enigma99a
    java.lang.SecurityException: invalid package name

  1. asvid 9 times, last 7 months ago
1 unregistered visitors
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

    "gps" location provider requires ACCESS_FINE_LOCATION permission.

    at android.os.Parcel.readException()
  2. Android Platform
    LocationManager.getLastKnownLocation
    1. android.os.Parcel.readException(Parcel.java:1620)
    2. android.os.Parcel.readException(Parcel.java:1573)
    3. android.location.ILocationManager$Stub$Proxy.getLastLocation(ILocationManager.java:799)
    4. android.location.LocationManager.getLastKnownLocation(LocationManager.java:1248)
    4 frames
  3. com.vblast.dir
    b.onPreExecute
    1. com.vblast.dir.g.e(SourceFile:177)
    2. com.vblast.dir.g.d(SourceFile:75)
    3. com.vblast.dir.uberstations.b.onPreExecute(SourceFile:240)
    3 frames
  4. Android Platform
    AsyncTask.executeOnExecutor
    1. android.os.AsyncTask.executeOnExecutor(AsyncTask.java:604)
    1 frame
  5. com.vblast.dir
    AbstractDirService.onStartCommand
    1. com.vblast.dir.uberstations.b.a(SourceFile:226)
    2. com.vblast.dir.uberstations.DirService.a(SourceFile:123)
    3. com.vblast.dir.AbstractDirService.onStartCommand(SourceFile:85)
    3 frames
  6. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4062)
    2. android.app.ActivityThread.access$2400(ActivityThread.java:221)
    3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1897)
    4. android.os.Handler.dispatchMessage(Handler.java:102)
    5. android.os.Looper.loop(Looper.java:158)
    6. android.app.ActivityThread.main(ActivityThread.java:7224)
    6 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames