I have a project in which I need to get the location as India. But in my emulator I am not getting the location.
when I take the google maps from my emulator, it is showing the current location in middle of the sea.
API level I am using is 27.
Emulator I use is Nexus 5x.
how to get the current position in this Emulator and also manually.
I tried to edit the location in Emulator and tried to give the latitude and longitude but it is not working.
How to configure GPS location “Google Map” on your Android Studio Emulator. 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.
You can control what location information your phone can use. Open your phone's Settings app. Under "Personal," tap Location access. At the top of the screen, turn Access to my location on or off.
First, go to “Settings” → navigate to “About Device” → and finally tap multiple times on “Build number” at the bottom of the menu to activate the Developer Mode. In this “Developer Options” menu, scroll down to “Debugging”, and tap on “Select mock location app”.
First of all,
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