java.lang.IllegalArgumentException: provider doesn't exist: gps
<p>Am using GPS to get the Users Location, In <strong>Samsung Galaxy S5(klte)</strong> with Android 5.0 shows error like <code>java.lang.IllegalArgumentException: provider doesn't exist: gps</code> but the device have GPS. Can tell Whats the error Exactly denotes like no GPS or Not able to access the GPS. </p>

<p>Can anyone know help me out to solve this issue.</p>

<p><strong>Error Log</strong></p>

<pre><code>Caused by: java.lang.IllegalArgumentException: provider doesn't exist: gps
at android.os.Parcel.readException(Parcel.java:1544)
at android.os.Parcel.readException(Parcel.java:1493)
at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:584)
at android.location.LocationManager.requestLocationUpdates(LocationManager.java:867)
at android.location.LocationManager.requestLocationUpdates(LocationManager.java:459)
at melbourne.webdesign.karmaridedriver.Driver_location_update.onStartCommand(Driver_location_update.java:62)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3259)
... 9 more
</code></pre>

<p><strong>Driver_location_update.java:62</strong></p>

<p>denotes below Line</p>

<pre><code>locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 4000, 0, listener);
</code></pre>