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

Google Play Services is not available #161

Closed
matthewbennett opened this issue Jul 31, 2018 · 4 comments
Closed

Google Play Services is not available #161

matthewbennett opened this issue Jul 31, 2018 · 4 comments

Comments

@matthewbennett
Copy link

Everything works fine on IOS. On Android I get this error no matter what I do. I have tried using version 10 for gms and I have tried using '+'. Not sure if I'm missing something?

dependencies {
compile project(':react-native-google-places')
compile project(':react-native-splash-screen')
compile project(':react-native-autogrow-textinput')
compile project(':react-native-image-picker')
// compile project(':react-native-maps')
compile(project(':react-native-maps')){
exclude group: 'com.google.android.gms'
}
compile project(':react-native-linear-gradient')
compile project(':react-native-vector-icons')
compile project(':react-native-fbsdk')
compile ('com.google.android.gms:play-services-base:11.8.0') {
force = true;
}
compile ('com.google.android.gms:play-services-maps:11.8.0') {
force = true;
}
compile ('com.google.android.gms:play-services-places:11.8.0') {
force = true;
}
compile ('com.google.android.gms:play-services-location:11.8.0') {
force = true;
}
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:26.0.1'
compile 'com.facebook.react:react-native:+'
// From node_modules
}

@CodeReadyCode
Copy link

Check you Simulator configuration
Should be like this

image

@matthewbennett
Copy link
Author

its not a device/emulator issue.

@nickmccomb
Copy link

Are you using a device or emulator? Might not have Google Play Services installed on your emulator
https://stackoverflow.com/questions/29429727/android-google-play-services-not-working-on-the-emulator

@tolu360
Copy link
Owner

tolu360 commented Mar 11, 2019

Consider getting on the latest beta release, Google Play Services is no longer an issue, see #198

@tolu360 tolu360 closed this as completed Mar 11, 2019
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