Get Realtime Location From User Device

I ran the same apk file but my phone showed this error while the stimulator’s get location worked (wrong city but still ok, i think it’s because of my stimulator’s customized location)

(My nox stimulator is on android 7 and my phone is on android 11)

Do you know why and how to fix it?

You Need wait for 2 Seconds. You will get it