Skip to content

Instantly share code, notes, and snippets.

@egorvas
Created March 11, 2017 09:01
Show Gist options
  • Select an option

  • Save egorvas/e7e556d1612a502be438ad82715b8c99 to your computer and use it in GitHub Desktop.

Select an option

Save egorvas/e7e556d1612a502be438ad82715b8c99 to your computer and use it in GitHub Desktop.
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: FATAL EXCEPTION: main
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: Process: io.appium.settings, PID: 11326
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: java.lang.RuntimeException: Unable to start service io.appium.settings.LocationService@c76b0e5 with Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=io.appium.settings/.LocationService (has extras) }: java.lang.SecurityException: io.appium.settings from uid 10312 not allowed to perform MOCK_LOCATION
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3061)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at android.app.ActivityThread.-wrap17(ActivityThread.java)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1461)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5491)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: Caused by: java.lang.SecurityException: io.appium.settings from uid 10312 not allowed to perform MOCK_LOCATION
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1620)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1573)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at android.location.ILocationManager$Stub$Proxy.addTestProvider(ILocationManager.java:1096)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at android.location.LocationManager.addTestProvider(LocationManager.java:1232)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at io.appium.settings.MockLocationProvider.pushLocation(MockLocationProvider.java:20)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at io.appium.settings.LocationService.onStartCommand(LocationService.java:25)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3044)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:34.993 11326 11326 E AndroidRuntime: ... 8 more
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: FATAL EXCEPTION: main
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: Process: io.appium.settings, PID: 11456
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: java.lang.RuntimeException: Unable to start service io.appium.settings.LocationService@c76b0e5 with Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=io.appium.settings/.LocationService (has extras) }: java.lang.SecurityException: io.appium.settings from uid 10312 not allowed to perform MOCK_LOCATION
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3061)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at android.app.ActivityThread.-wrap17(ActivityThread.java)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1461)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5491)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: Caused by: java.lang.SecurityException: io.appium.settings from uid 10312 not allowed to perform MOCK_LOCATION
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1620)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1573)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at android.location.ILocationManager$Stub$Proxy.addTestProvider(ILocationManager.java:1096)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at android.location.LocationManager.addTestProvider(LocationManager.java:1232)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at io.appium.settings.MockLocationProvider.pushLocation(MockLocationProvider.java:20)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at io.appium.settings.LocationService.onStartCommand(LocationService.java:25)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3044)
[2017-03-11T11:38:03+0300] [ALL] 03-08 13:26:40.903 11456 11456 E AndroidRuntime: ... 8 more
[2017-03-11T11:38:03+0300] [ALL] --------- beginning of system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment