java.lang.RuntimeException: Unable to resume activity {com.androidfu.example.geofences/com.androidfu.example.geofences.GeofenceExampleLauncher}: java.lang.SecurityException: com.androidfu.example.geofences from uid 10170 not allowed to perform MOCK_LOCATION

Stack Overflow | TheQ | 2 months ago
  1. 0

    How to solve geofence mock_location error?

    Stack Overflow | 2 months ago | TheQ
    java.lang.RuntimeException: Unable to resume activity {com.androidfu.example.geofences/com.androidfu.example.geofences.GeofenceExampleLauncher}: java.lang.SecurityException: com.androidfu.example.geofences from uid 10170 not allowed to perform MOCK_LOCATION
  2. 0

    Using set_gps_coordinates without ACCESS_MOCK_LOCATION crashes the entire app.

    GitHub | 2 years ago | john7doe
    java.lang.SecurityException: Requires ACCESS_MOCK_LOCATION secure setting
  3. 0

    mock permission missing for demo

    GitHub | 8 months ago | moovida
    java.lang.RuntimeException: Unable to start service eu.geopaparazzi.library.gps.GpsService@564a3bc with Intent { cmp=eu.hydrologis.geopaparazzi/eu.geopaparazzi.library.gps.GpsService }: java.lang.SecurityException: Requires ACCESS_MOCK_LOCATION permission
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when getting contacts informations of contacts with pictures in 4.4.3

    Stack Overflow | 2 years ago | Giom
    java.lang.SecurityException: com.android.providers.contacts from uid 10491 not allowed to perform READ_CONTACTS
  6. 0

    After hitting the send button the SMS App crashes with the following log output: V/SmsReceiverService(15685): onStart: #1 mResultCode: -1 = Activity.RESULT_OK D/AndroidRuntime(15675): Shutting down VM W/dalvikvm(15675): threadid=1: thread exiting with uncaught exception (group=0x419a9ce0) W/AppOps ( 8565): Bad call: specified package null under uid 10012 but it is really -1 E/AndroidRuntime(15675): FATAL EXCEPTION: main E/AndroidRuntime(15675): Process: com.android.phone, PID: 15675 E/AndroidRuntime(15675): java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.NEW_OUTGOING_SMS flg=0x10 (has extras) } in com.android.internal.telephony.IccSmsInterfaceManagerProxy$1@41d084b8 E/AndroidRuntime(15675): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:785) E/AndroidRuntime(15675): at android.os.Handler.handleCallback(Handler.java:733) E/AndroidRuntime(15675): at android.os.Handler.dispatchMessage(Handler.java:95) E/AndroidRuntime(15675): at android.os.Looper.loop(Looper.java:136) E/AndroidRuntime(15675): at android.app.ActivityThread.main(ActivityThread.java:5149) E/AndroidRuntime(15675): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(15675): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime(15675): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789) E/AndroidRuntime(15675): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605) E/AndroidRuntime(15675): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(15675): Caused by: java.lang.SecurityException: null from uid 10012 not allowed to perform SEND_SMS E/AndroidRuntime(15675): at android.app.AppOpsManager.noteOp(AppOpsManager.java:1200) E/AndroidRuntime(15675): at com.android.internal.telephony.IccSmsInterfaceManager.sendText(IccSmsInterfaceManager.java:457) E/AndroidRuntime(15675): at com.android.internal.telephony.IccSmsInterfaceManagerProxy$1.onReceive(IccSmsInterfaceManagerProxy.java:78) E/AndroidRuntime(15675): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:775) E/AndroidRuntime(15675): ... 9 more

    JIRA | 3 years ago | Stefan Walter
    java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.NEW_OUTGOING_SMS flg=0x10 (has extras) } in com.android.internal.telephony.IccSmsInterfaceManagerProxy$1@41d084b8

    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

      com.androidfu.example.geofences from uid 10170 not allowed to perform MOCK_LOCATION

      at android.os.Parcel.readException()
    2. Android Platform
      LocationManager.addTestProvider
      1. android.os.Parcel.readException(Parcel.java:1599)
      2. android.os.Parcel.readException(Parcel.java:1552)
      3. android.location.ILocationManager$Stub$Proxy.addTestProvider(ILocationManager.java:1096)
      4. android.location.LocationManager.addTestProvider(LocationManager.java:1298)
      4 frames
    3. com.androidfu.example
      MapsActivity.onResume
      1. com.androidfu.example.geofences.MapsActivity.onResume(MapsActivity.java:120)
      1 frame
    4. Android Platform
      ActivityThread.performResumeActivity
      1. android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1258)
      2. android.app.Activity.performResume(Activity.java:6347)
      3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:3110)
      3 frames