GPS error = location provider is unavailable. make sure that location services are enabled

Dear friends,

On some Android devices that have an application that uses GPS developed in ThunkableX, the following error is occurring:


location provider is unavailable. make sure that location services are enabled

All location services are properly enabled.

EnableHighAccuracy = True

Some devices work normally.

How to solve?

Thank you in advance for your help!

1 Like

If location services are enabled, make sure you’re not getting the location too often. If you have the location sensor in a timer or loop, that may be causing the problem. How do you have it set up?

1 Like

Check this link. EnableHighAccuracy setting is version dependent.