Skip to content Skip to sidebar Skip to footer

Locationmanager Exception Provider "gps" Unknown

This is related to my own question here: LocationManager exception Now that I have no permission issue - same line of code gives me exception: Caused by: java.lang.IllegalArgumentE

Solution 1:

It seems that setTestProviderStatus deprecated. Googling and searching didn't help. Some information from book gave me clue that those absolete. Instead, need to mock locations using DDMS when using emulator or device. So, I tried go that route and it seems to be working.


Post a Comment for "Locationmanager Exception Provider "gps" Unknown"