I have a project in which I need to get the location as India. But in my emulator I am not getting the location.
In 2020 with Android Studio 3.6, the way I had to change the emulator location is slightly different than accepted answer. Here how it is:
First,
Second, Location is first menu item and it is selected by default. You have to select your location in the map and save that point.
Third, select the saved point and press on select location button in bottom right corner.
That's it, close that window. You are all done.
Sometimes you may have to close the emulator and open (Not restart).