Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could invoke RNAndroidLocationEnabler. promptForEnabledLocationNeeded #29

Open
Adibacaj opened this issue Sep 25, 2019 · 3 comments
Open

Comments

@Adibacaj
Copy link

Hello, I have installed react-native-location-enabler on RN 0.61.0-rc.3 and got this error when I am running on a real device:

Could invoke RNAndroidLocationEnabler. promptForEnabledLocationNeeded

null

Failed resolution of: Lcom/google/android/gs/location/LocationRequest;

com.google.android.gms.location.LocationRequest

Failed resolution of: Lcom/google/android/gms/internal/zzbgl

Didn't find class
"com.google.android.gms.internal.zzbgl

@anastely
Copy link

Are you solve it?

@pakAsrul
Copy link

i'm solved this.

in folder android/build.gradle
add lines : googlePlayServicesVersion = "21.0.1" in ext
add lines : classpath('com.google.gms:google-services:4.3.3') in dependencies

@nitin-kumar-bs
Copy link

I am getting the same issue anyone can help us to fix this issue

issue :- java.lang.RuntimeException: Could not invoke RNAndroidLocationEnabler.promptForEnableLocationIfNeeded
RN version => 0.73.8
react-native-android-location-enabler => 1.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants