I'm learning React-Native
and created an app to show map using react-native-maps
library.
I have followed all steps in here but I got this error :
my dependencies is :
dependencies {
implementation(project(':react-native-maps')){
exclude group: 'com.google.android.gms', module: 'play-services-base'
exclude group: 'com.google.android.gms', module: 'play-services-maps'
}
implementation 'com.google.android.gms:play-services-base:10.0.1'
implementation 'com.google.android.gms:play-services-maps:10.0.1'
compile project(':react-native-splash-screen')
compile project(':react-native-vector-icons')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
compile project(':react-native-fcm')
implementation 'com.google.firebase:firebase-core:16.0.1'
}
How can I solve this?
You should use SAME version.
implementation 'com.google.android.gms:play-services-base:15.0.0'
implementation 'com.google.android.gms:play-services-maps:15.0.0'
implementation 'com.google.firebase:firebase-core:15.0.0'
You should check Google APIs
& Firebase APIs
list.