React native Fix error: more than one library with package name ‘com.google.android.gms…
Error come when google play service sdk release March 20, 2018 — Version 12.0.0 [https://developers.google.com/android/guides/releases]
First I tried with custom gradle on android using
- Resolution Strategy force version of module:
configurations.all {
resolutionStrategy {
force 'com.google.android.gms:play-services-gcm:11.8.0'
}
}
- DependencyResolveDetails set to use specific version