Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: more than one library with package name 'com.google.android.gms' #12

Open
Rajesh902 opened this issue Nov 12, 2016 · 2 comments
Open

Comments

@Rajesh902
Copy link

App has both urbanAirship push notification plugin and brightcove player plugin .But building an app with Android failed with below error.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':processDebugResources'.

Error: more than one library with package name 'com.google.android.gms'

As per my understaning is both the plugin uses the same package 'com.google.android.gms'. Below is my depencies in build.gradle

dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.android.support:support-v4:24.2.0'
compile 'com.android.support:cardview-v7:24.2.0'
compile 'com.android.support:support-annotations:24.2.0'
compile 'com.google.android.gms:play-services-gcm:[9.4.0,10['
compile 'com.google.android.gms:play-services-location:[9.4.0,10['
compile 'com.urbanairship.android:urbanairship-sdk:8.0.1'

// SUB-PROJECT DEPENDENCIES START
debugCompile project(path: "CordovaLib", configuration: "debug")
releaseCompile project(path: "CordovaLib", configuration: "release")
debugCompile project(path: "cordova-google-play-services:google-play-services_lib", configuration: "debug")
releaseCompile project(path: "cordova-google-play-services:google-play-services_lib", configuration: "release")
// SUB-PROJECT DEPENDENCIES END

}

Please help me to solve this issue.

@jarekskuder
Copy link

Nothing helps... I installed this plugin and now i have same error... can't build

@kostkobv
Copy link
Member

Hey guys!
Unfortunately I can't support this plugin anymore.
If you have any issues - PR's are highly encouraged.
If you want to join as a contributor you're very welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants