Android Studio emulator first transfers to Mountain View location in Google Maps

本秂侑毒 提交于 2021-01-29 07:50:31

问题


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 Mountain View (latitude = 37.4220186, longitude = -122.0839727). The emulator is Nexus 5 having Android SDK 30.

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?

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

来源:https://stackoverflow.com/questions/64354181/android-studio-emulator-first-transfers-to-mountain-view-location-in-google-maps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!