I have a code in Android Studio to get user\'s location but when I run the code in the emulator it does not find the location while when I connect the code with my phone and run