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

**URL:** <https://community.thunkable.com/t/gps-error-location-provider-is-unavailable-make-sure-that-location-services-are-enabled/1534433>\
**Category:** Questions about Thunkable X\
**Created:** [September 29, 2021, 10:16pm UTC](https://community.thunkable.com/t/gps-error-location-provider-is-unavailable-make-sure-that-location-services-are-enabled/1534433 "2021-09-29T22:16:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyperbyte](https://avatars.discourse-cdn.com/v4/letter/h/dc4da7/32.png) [@hyperbyte](https://community.thunkable.com/u/hyperbyte)\
**Post date:** [September 29, 2021, 10:16pm UTC](https://community.thunkable.com/t/gps-error-location-provider-is-unavailable-make-sure-that-location-services-are-enabled/1534433/1 "2021-09-29T22:16:37Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 29, 2021, 10:24pm UTC](https://community.thunkable.com/t/gps-error-location-provider-is-unavailable-make-sure-that-location-services-are-enabled/1534433/2 "2021-09-29T22:24:31Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [September 29, 2021, 10:57pm UTC](https://community.thunkable.com/t/gps-error-location-provider-is-unavailable-make-sure-that-location-services-are-enabled/1534433/3 "2021-09-29T22:57:13Z")

</div>

Check this link. EnableHighAccuracy setting is version dependent.

> [@Location Sensor Unable to retrieve location with cellular data](https://community.thunkable.com/t/location-sensor-unable-to-retrieve-location-with-cellular-data/1482946/14):
>
> Hi there, Unfortunately, this seems to be an issue with Expo, who provide the framework we use to build apps. ﻿ ﻿You can see discussion of this behavior on Expo’s Github [here](https://github.com/expo/expo/issues/14248). ﻿ ﻿Thunkable team member Jose has deployed a partial fix. ﻿ ﻿Depending on your version of Android, you may need to set EnableHighAccuracy to false for Location Sensor to work as expected on your device. I use Android 11 and I don’t need to do this, but Jose reports needing to do this for Location Sensor to work on A…

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:15pm UTC](https://community.thunkable.com/t/gps-error-location-provider-is-unavailable-make-sure-that-location-services-are-enabled/1534433/5 "2024-11-08T13:15:00Z")

</div>


