As title says, I use Google Maps on my App, but the thing is, when I run my App on my phone (LG G4) It shows my current location, but when I try to run it on an emulator (Android Studio integrated emulator) it shows Google's Offices location I've already checked if my computer has its location located there, but no, everything seems fine excepting that. Any ideas?
For Samsung smartphones running Android 10 OS, the location information may appear inaccurate if the GPS signal is obstructed, location settings is disabled, or if you are not using the best location method.
From terminal run telnet localhost 5554 , you are now in emulator shell. Type help ,it will show available commands , like faking a call, sms, battery etc. To know more about a command type help <command name> . Type help geo , it will print available location commands.
First, run your Android Emulator and click on the three dots on the menus beside. On the left pane, select Location and change the coordinates according to your location. Press the Send button, changes will immediately take effect.
It's in emulator's extended controls. Click the three dots on the emulator side button panel and the first settings page is where you set the GPS coordinates you want to emulate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With