I'm Getting this error:
Error:Execution failed for task ':app:processDebugResources'. > Error: more than one library with package name 'com.google.android.gms'
When I try to implement GameAnalytics via Fabric.
this is the snipet from the built.gradle file
dependencies {
compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.android.support:support-v4:23.1.0'
compile('com.gameanalytics.sdk:gameanalytics-android:2.1.0@aar') {
transitive = true;
}
}
Why do I get this error?
Melissa Avery-Weir
1,3362 gold badges17 silver badges47 bronze badges
1 Answer 1
Probably GameAnalytics also implement this service.
try to add: exclude group: com.google.android.gms
like so:
compile('com.gameanalytics.sdk:gameanalytics-android:2.1.0@aar') {
transitive = true;
exclude group: 'com.google.android.gms'
}
Viral Patel
33.6k19 gold badges89 silver badges113 bronze badges
answered Jan 14, 2016 at 9:21
Erez
2,6553 gold badges23 silver badges27 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
Explore related questions
See similar questions with these tags.
default