Doubts in developing Android Application using Android Studio [duplicate]

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?


Solution 1:

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.