Android emulator cannot recognize that GPS is enabled

android, android-emulator, gps

Solution

So, there is actually another settings just for Google apps...which is why the error message in Maps said `Please enable Google apps location access`. There's a separate Google Settings app separate from regular Settings. Classic misunderstanding of the error message...

Problem

I'm having trouble getting the emulator to enable GPS. It's targeted to Google APIs 4.2.2 (hw.gps = yes). In Settings > Location access, access is turned on and GPS and wi-fi are both checked. When I telnet localhost 5554 and send a geo fix, I get an OK from the Android Console. ``` lkung$ telnet localhost 5554 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Android Console: type 'help' for a list of commands OK geo fix 50 50 OK ``` Yet if I open Maps, it says "Please enable Google apps location access." I'm trying to test an app that is location-dependent using the emulator.

Original source