{"action":"closed","issue":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/515","repository_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase","labels_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/515/comments","events_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/515/events","html_url":"https://github.com/arnesson/cordova-plugin-firebase/issues/515","id":284327944,"number":515,"title":"Error with AdMob Free Plugin","user":{"login":"danielpalen","id":22519290,"avatar_url":"https://avatars3.githubusercontent.com/u/22519290?v=4","gravatar_id":"","url":"https://api.github.com/users/danielpalen","html_url":"https://github.com/danielpalen","followers_url":"https://api.github.com/users/danielpalen/followers","following_url":"https://api.github.com/users/danielpalen/following{/other_user}","gists_url":"https://api.github.com/users/danielpalen/gists{/gist_id}","starred_url":"https://api.github.com/users/danielpalen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielpalen/subscriptions","organizations_url":"https://api.github.com/users/danielpalen/orgs","repos_url":"https://api.github.com/users/danielpalen/repos","events_url":"https://api.github.com/users/danielpalen/events{/privacy}","received_events_url":"https://api.github.com/users/danielpalen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-12-23T21:36:13Z","updated_at":"2018-04-28T19:10:57Z","closed_at":"2018-04-28T19:10:57Z","author_association":"NONE","body":"When installing this plugin in combination with AdMob Free 'ionic cordova build android' the process throws the following error.\r\n\r\n```\r\nFAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':transformClassesWithJarMergingForRelease'.\r\n> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/internal/zzau.class\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 9.655 secs\r\n\r\nError: /Users/Daniel/Code/baseball/baseball_app/platforms/android/gradlew: Command failed with exit code 1 Error output:\r\nNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\nNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\nNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':transformClassesWithJarMergingForRelease'.\r\n> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/internal/zzau.class\r\n```\r\n\r\nThis error is clearly introduced by the combination of the two plugins. I checked this in a fresh ionic project where I only installed these two plugins and got the same error.\r\n\r\nI did find this issue which seems to have a similar problem (https://github.com/arnesson/cordova-plugin-firebase/issues/387). Removing the following two lines from plugin.xml in this repo did not solve the error though.\r\n```\r\n<framework src=\"com.google.gms:google-services:+\" />\r\n<framework src=\"com.google.android.gms:play-services-tagmanager:+\" />\r\n```\r\n\r\n"}}
{"actor":{"display_login":"soumak77"}}