0

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
asked Jan 14, 2016 at 9:17

1 Answer 1

2

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
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.