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

  1. ,
    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()

  2. ,
    via android.com by Unknown author

    You need to request READ_PHONE_STATE permissions before using of this method.

Solutions on the web

via Stack Overflow by Michael Drdlíček
, 1 year ago
Geofence usage requires ACCESS_FINE_LOCATION permission
via GitHub by kimar
, 1 year ago
Geofence usage requires ACCESS_FINE_LOCATION permission
via GitHub by galadril
, 2 years ago
via GitHub by galadril
, 2 years ago
via Stack Overflow by David Vescovi
, 3 months ago
Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
via Stack Overflow by scriptocalypse
, 1 year ago
Permission Denial: opening provider com.android.providers.calendar.CalendarProvider2 from ProcessRecord{2544377 22072:REDACTED.PACKAGE.NAME/u0a113} (pid=22072, uid=10113) requires android.permission.READ_CALENDAR or android.permission.WRITE_CALENDAR
java.lang.SecurityException: Geofence usage requires ACCESS_FINE_LOCATION permission	at android.os.Parcel.readException(Parcel.java:1599)	at android.os.Parcel.readException(Parcel.java:1552)	at com.google.android.gms.location.internal.zzi$zza$zza.zza(Unknown Source)	at com.google.android.gms.location.internal.zzl.zza(Unknown Source)	at com.google.android.gms.location.internal.zzf$1.zza(Unknown Source)	at com.google.android.gms.location.internal.zzf$1.zza(Unknown Source)	at com.google.android.gms.internal.zznt$zza.zzb(Unknown Source)	at com.google.android.gms.internal.zzoc.zzf(Unknown Source)	at com.google.android.gms.internal.zzoc.zzd(Unknown Source)	at com.google.android.gms.internal.zzoh.zzd(Unknown Source)	at com.google.android.gms.internal.zzof.zzd(Unknown Source)	at com.google.android.gms.location.internal.zzf.addGeofences(Unknown Source)	at mypackage.location.LocationHelper.addGeofences(LocationHelper.java:222)	at mypackage.location.PoiGeofencesHelper.addGeofences(PoiGeofencesHelper.java:42)	at mypackage.fragment.LocalTitleRecyclerFragment.addGeofences(LocalTitleRecyclerFragment.java:763)	at mypackage.fragment.LocalTitleRecyclerFragment.onLoadFinished(LocalTitleRecyclerFragment.java:471)	at mypackage.fragment.LocalTitleRecyclerFragment.onLoadFinished(LocalTitleRecyclerFragment.java:80)	at android.support.v4.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:479)	at android.support.v4.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:447)	at android.support.v4.content.Loader.deliverResult(Loader.java:126)	at android.support.v4.content.CursorLoader.deliverResult(CursorLoader.java:105)	at android.support.v4.content.CursorLoader.deliverResult(CursorLoader.java:37)	at android.support.v4.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:249)	at android.support.v4.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:77)	at android.support.v4.content.ModernAsyncTask.finish(ModernAsyncTask.java:466)	at android.support.v4.content.ModernAsyncTask.access$400(ModernAsyncTask.java:48)	at android.support.v4.content.ModernAsyncTask$InternalHandler.handleMessage(ModernAsyncTask.java:483)	at android.os.Handler.dispatchMessage(Handler.java:104)	at android.os.Looper.loop(Looper.java:148)	at android.app.ActivityThread.main(ActivityThread.java:5460)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)