Error: Location request failed due to unsatisfied device settings. with expo-location and android 9

I am developing a location-based app and I am using expo bare flow after I ejected my project. I tested my project in an android studio emulator with android 8,7 it worked fine but when I tested in android 9 emulator I got that error even I grant the location permission.

this a part of my code :`
getLocationAsync = async () => {

    let { status } = await Permissions.askAsync(Permissions.LOCATION);
    if (status !== 'granted') {
        errorMessage: 'Permission to access location was denied',

    Location.watchPositionAsync({enableHighAccuracy:true},async (location)=>{
        // console.log("Driver current lat long is",location)
        if(location) {
            var pos = {
                latitude: location.coords.latitude,
                longitude: location.coords.longitude,
            this.setState({ myLocation: pos })
            var curuser = firebase.auth().currentUser.uid;
                var latlng = pos.latitude + ',' + pos.longitude;
                try {
                    const response = await fetch('' + latlng + '&key=' + google_map_key);
                    const responseJson = await response.json();
                    if (responseJson.results[0] && responseJson.results[0].formatted_address) {

                    else {
                catch (error) {


Hey @seif1000, have you been able to replicate the error on a physical device as well running Android 9?


thanks,problem solved
I faced this error because I tested on android studio emulator without a google play service but when I tested on emulator with google play service it worked fine without error .

1 Like

Happy to hear you got things figured out!