Closed
Description
Hello,
Bear in mind, I'm not to clued up to Android yet...
I keep running into the same issue whereby my build fails due to "Multiple dex files". The cause of this is conflicting play-services versions across multiple libs. This library hard sets the dep to 9.8.0.
Other libs seem to only set it to "whatever is latest", e.g: https://github.com/zo0r/react-native-push-notification/blob/master/android/build.gradle#L44 & https://github.com/idehub/react-native-google-analytics-bridge/blob/master/android/build.gradle#L21
The only way I can fix these errors is by either:
- Adding this to my own build.gradle:
dependencies {
compile ('com.google.android.gms:play-services-gcm:9.8.0') {
force = true;
}
...
- Going into node_modules, and changing the line to
compile 'com.google.android.gms:play-services-base:+'
.
Didn't want to make a PR since I'm not sure if this will have any repercussions?
Metadata
Metadata
Assignees
Labels
No labels