I'm curious to see if there is a way to manually change your devices location. Without potentially opening yourself up for a security risk. I saw an app that was recommended, but it's terms and conditions stated that they would be allowed to sell your location data, which seems a bit sketchy. I don't see why it wouldn't be possible to manually change it yourselfwith dev mode enabled? Any ideas or suggestions would be appreciated.
How to Change GPS Location on Android Phone?
testing - How to emulate GPS location in the Android Emulator? - Stack Overflow
Changing your location without paying on Android
Safe fake GPS app?
You wan to what? Can you explain please?
More on reddit.comHow do I change my location in Android settings?
What’s the best method to change the Android location for beginners?
Is it legal to change my location on my Android device?
While changing your location isn’t illegal per se, it can violate the terms of service of some apps or websites. Always make sure you understand the rules of the platforms you’re using to avoid any potential issues.
Videos
You can connect to the Emulator via Telnet. You then have a Emulator console that lets you enter certain data like geo fixes, network etc.
How to use the console is extensively explained here. To connect to the console open a command line and type
Copytelnet localhost 5554
You then can use the geo command to set a latitude, longitude and if needed altitude on the device that is passed to all programs using the gps location provider. See the link above for further instructions.
The specific command to run in the console is
Copygeo fix <longitude value> <latitude value>
I found this site useful for finding a realistic lat/lng: http://itouchmap.com/latlong.html
If you need more then one coordinate you can use a kml file with a route as well it is a little bit described in this article. I can't find a better source at the moment.
No one here mentioned the built in solution of the emulator itself, so for future visitors, I'd like to share it with visuals.
First, run your Android Emulator and click on the menu button (3 dots) shown below:

Then from the left pane, select Location and change the coordinates according to your needs. After pressing Send button, changes will immediately take effect (I recommend you to open up Google Maps for better understanding).

Android Studio Version: 2.3.3
In addition, to make your different locations coming to your application in real time, you can use GPX file. It's very easy to create this file from Google Map direction link:
- Go to google map, choose a location, then press "Directions" and enter the second location.
- After route is created, copy a link from the browser
- Go to this website: https://mapstogpx.com and paste the link to "Let's Go" box
- Press the "Let's Go" button and GPX file will be downloaded
Use "Load GPS/KML" button to load the created file to your emulator, choose speed, and press green play button on the bottom. Locations will be sent in real time as shown on the picture below.