Note that there are some explanatory texts on larger screens.

plurals
  1. PORuntime Error--java.lang.IllegalArgumentException: provider=gps
    primarykey
    data
    text
    <p>I got this error from the user logs on an android app I created. I have been unable to replicate the error thus far. Any help would be extremely appreciated.</p> <p>The error is:</p> <pre><code>java.lang.IllegalArgumentException: provider=gps at android.os.Parcel.readException(Parcel.java:1326) at android.os.Parcel.readException(Parcel.java:1276) at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:646) at android.location.LocationManager._requestLocationUpdates(LocationManager.java:582) at android.location.LocationManager.requestLocationUpdates(LocationManager.java:446) at com.myApp.service.DeviceManager$7.handleMessage(DeviceManager.java:470) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3835) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:883) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641) at dalvik.system.NativeStart.main(Native Method) </code></pre> <p>The devicemanager location it refers to is:</p> <pre><code>private final Handler uihandler = new Handler() { @Override public void handleMessage(Message msg) { switch (msg.what) { case MSG_TOAST: Toast.makeText(DeviceManager.this, msg.arg1, Toast.LENGTH_SHORT).show(); break; case MSG_ENABLE_LOCATION: mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 60000, 1,DeviceManager.this); mLocationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 60000, 1, DeviceManager.this); break; case MSG_DISABLE_LOCATION: mLocationManager.removeUpdates(DeviceManager.this); break; case MSG_STOP_SELF: break; } } }; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload