Android emulator set gps geolocation

2019-09-19 05:22发布

Is there any other way to set gps coordinates for the emulator? It does not work for the following methods: 1). geo fix longitude, latitude [altitude] If it does not work in terminal.

2) GPS Setting

3) DDMS Stting

2条回答
\"骚年 ilove
2楼-- · 2019-09-19 06:05

An additional step may be needed on some phones which for Android developers, is most likely already done. Enable developer mode (tap 7+ times on Build Number) and turn on mock locations

查看更多
倾城 Initia
3楼-- · 2019-09-19 06:14

In the emulator tool bar there should be ellipses you can click. Once you click them the Longitude and Latitude in that window are editable and will change the emulators perceived location.

annotated image of where to find this button

image showing where to edit long and lat

查看更多
登录 后发表回答