Android Studio emulator first transfers to Googleplex (Mountain View) location in Google Maps
Asked Answered
H

0

4

I have an application where I set current location (using Google Maps). Every time I open Google Maps inside the application in Android Studio emulator, it sets location to Googleplex, Mountain View (latitude = 37.4220186, longitude = -122.0839727). The emulator is Nexus 5 having Android SDK 30.

enter image description here

If I change the location in settings to Moscow, the emulator can relocate to Moscow after clicking My location button, but sometimes it doesn't relocate. Then, after clicking the second time it can transfer to Mountain View again (and then again to Moscow and so on).

It's an annoying behaviour. How to force Android Studio emulator to start in Moscow?

enter image description here

If I open Google Maps themselves in the emulator, it sets a right position in Moscow.

enter image description here

Haddington answered 14/10, 2020 at 13:18 Comment(1)
Currently I don't have a solution for this bug. But you can start Google Maps application and find your location there. Then turn to your application and start location search there. In this case it will find faster and more accurate.Haddington

© 2022 - 2024 — McMap. All rights reserved.