{"action":"closed","issue":{"url":"https://api.github.com/repos/adjust/cordova_sdk/issues/40","repository_url":"https://api.github.com/repos/adjust/cordova_sdk","labels_url":"https://api.github.com/repos/adjust/cordova_sdk/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/adjust/cordova_sdk/issues/40/comments","events_url":"https://api.github.com/repos/adjust/cordova_sdk/issues/40/events","html_url":"https://github.com/adjust/cordova_sdk/issues/40","id":151168771,"number":40,"title":"cordova build fails after adding adjust plugin","user":{"login":"marcusbesjes","id":3897729,"avatar_url":"https://avatars.githubusercontent.com/u/3897729?v=3","gravatar_id":"","url":"https://api.github.com/users/marcusbesjes","html_url":"https://github.com/marcusbesjes","followers_url":"https://api.github.com/users/marcusbesjes/followers","following_url":"https://api.github.com/users/marcusbesjes/following{/other_user}","gists_url":"https://api.github.com/users/marcusbesjes/gists{/gist_id}","starred_url":"https://api.github.com/users/marcusbesjes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcusbesjes/subscriptions","organizations_url":"https://api.github.com/users/marcusbesjes/orgs","repos_url":"https://api.github.com/users/marcusbesjes/repos","events_url":"https://api.github.com/users/marcusbesjes/events{/privacy}","received_events_url":"https://api.github.com/users/marcusbesjes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-04-26T15:40:47Z","updated_at":"2016-05-13T07:18:56Z","closed_at":"2016-05-13T07:18:56Z","body":"I'm adding the adjust plugin `4.3.0` to a project with only the `Android` platform. After adding the plugin, running `cordova build` fails with the following error:\r\n```\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':processArmv7DebugResources'.\r\n> Error: more than one library with package name 'com.google.android.gms'\r\n```\r\n\r\nIf I create a fresh Cordova project and only add the Adjust plugin, there is no problem building, so I know the error must be following from some sort of conflict with one or more if the existing plugins in my app.\r\n\r\nI will continue to debug this problem and I will update when I've figured out exactly which plugin(s) is/are conflicting with adjust.\r\n\r\nI was wondering if there is anything that could be done on the adjust plugin level to avoid this type of conflict. Maybe in the way it declares/adds this library?\r\n\r\nThe complete list of plugins now looks like this:\r\n```\r\n> cordova plugin ls\r\nacidhax.cordova.chromecast 0.0.1-alpha \"Cordova ChromeCast\"\r\ncom.adjust.sdk 4.3.0 \"Adjust\"\r\ncom.amazon.device.iap.cpt.AmazonIapV2Plugin 1.0.0 \"AmazonIapV2\"\r\ncom.phonegap.plugins.facebookconnect 0.11.0 \"Facebook Connect\"\r\ncordova-plugin-crosswalk-webview 1.6.1 \"Crosswalk WebView Engine\"\r\ncordova-plugin-device 1.1.1 \"Device\"\r\ncordova-plugin-email-composer 0.8.3 \"EmailComposer\"\r\ncordova-plugin-file 4.1.1 \"File\"\r\ncordova-plugin-file-transfer 1.5.0 \"File Transfer\"\r\ncordova-plugin-globalization 1.0.3 \"Globalization\"\r\ncordova-plugin-inappbrowser 1.3.0 \"InAppBrowser\"\r\ncordova-plugin-network-information 1.2.0 \"Network Information\"\r\ncordova-plugin-splashscreen 3.2.1 \"Splashscreen\"\r\ncordova-plugin-statusbar 2.1.2 \"StatusBar\"\r\ncordova-plugin-whitelist 1.2.1 \"Whitelist\"\r\ncordova-plugin-x-socialsharing 5.0.11 \"SocialSharing\"\r\n```\r\n\r\nrunning Cordova `6.1.1`\r\n"}}