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.
Asked
Active
Viewed 5,191 times
0

TechnoSniper
- 18
- 1
- 9
2 Answers
3
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.

drawinfinity
- 315
- 4
- 21
-
where can I find the ellipses? – TechnoSniper Feb 23 '17 at 02:57
-
I added links to images so you can see where it is – drawinfinity Feb 23 '17 at 03:00
-
Did you make sure to press the send button? It has always worked for me. – drawinfinity Feb 23 '17 at 15:22
-
yes, it is also reported in the "currently reported location " block and if it had worked I would not be asking the question . – TechnoSniper Feb 24 '17 at 01:01
-
@FirefighterBlu3 yes – TechnoSniper Feb 24 '18 at 17:17
-
what additional steps did you take? – FirefighterBlu3 Feb 24 '18 at 18:45
-
ok, discovered what made the difference. for most people doing android dev, they already have developer options enabled. on some phones, you need to have developer options enabled (tap 7+ times on Build Number) and enable mock locations – FirefighterBlu3 Mar 02 '18 at 22:14
-
@FirefighterBlu3 you may need to check for app permissions too... when I tried try again this few days found I had not given the app some permission – TechnoSniper Mar 05 '18 at 07:43
-
@TechnoSniper i've granted both fine and coarse location permissions in the manifest, requested it at runtime, and returns permission_granted value each time i check it :} still can't get it to work on any of my other devices however – FirefighterBlu3 Mar 05 '18 at 18:38
-
@FirefighterBlu3 log.d the files and check the values also check your GPStracker – TechnoSniper Mar 06 '18 at 00:03
0
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

FirefighterBlu3
- 399
- 5
- 11