4screens / brightcove-player-cordova-plugin

Native Brightcove player plugin for Cordova with IMA support
MIT License
12 stars 8 forks source link

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

Open Rajesh902 opened 7 years ago

Rajesh902 commented 7 years ago

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.

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 commented 7 years ago

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

kostkobv commented 7 years ago

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!