java.lang.SecurityException

"passive" location provider requires ACCESS_FINE_LOCATION permission.

Samebug tips5

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()

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1670

  • via GitHub by ecgreb
    , 1 year ago
    "passive" location provider requires ACCESS_FINE_LOCATION permission.
  • via xda-developers.com by Unknown author, 11 months ago
    "passive" location provider requires ACCESS_FINE_LOCATION permission.
  • via xda-developers.com by Unknown author, 1 year ago
    "passive" location provider requires ACCESS_FINE_LOCATION permission.
  • Stack trace

    • java.lang.SecurityException: "passive" 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.requestLocationUpdates(ILocationManager.java:606) at android.location.LocationManager.requestLocationUpdates(LocationManager.java:880) at android.location.LocationManager.requestLocationUpdates(LocationManager.java:496)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    28 times, 1 year ago
    16 times, 5 months ago
    4 times, 8 months ago
    4 times, 9 months ago
    232 more bugmates