I used to work with this application: https://play.google.com/store/apps/details?id=com.fakegps.mock&hl=en And before this with this one: https://play.google.com/store/apps/
In Settings -> General -> Location -> Mode
I switched it from Battery Saving
to High accuracy
and then the mock location app started working.
Note, you also need to set your preferred Mock Location app in Developer Options, but even after doing that my app was showing my true location instead of the mocked location - now it's working like a champ!
If mocked location seems to jump to real one during simulation, try to turn off wifi based locations (Settings
/ Location
/ Mode
--> Device only
).
Make sure you have Allow Mock Location
turned on in phone's Developer Options
and try this app: https://play.google.com/store/apps/details?id=fr.dvilleneuve.lockito&hl=en
I'm using it when working on Geofencing
and works great.
I managed to fix this problem by disabling the "Fused Location" service on my phone. I used the Disable Service application which requires root privileges to run. After disabling the "Fused Location" service I stopped teleporting to my real location.