{"action":"created","issue":{"url":"https://api.github.com/repos/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/326","repository_url":"https://api.github.com/repos/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking","labels_url":"https://api.github.com/repos/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/326/comments","events_url":"https://api.github.com/repos/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/326/events","html_url":"https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/326","id":227682267,"number":326,"title":"Multiple Dex Exception on latest build branch-cordova-sdk 2.5.16","user":{"login":"jragrag","id":20144250,"avatar_url":"https://avatars2.githubusercontent.com/u/20144250?v=3","gravatar_id":"","url":"https://api.github.com/users/jragrag","html_url":"https://github.com/jragrag","followers_url":"https://api.github.com/users/jragrag/followers","following_url":"https://api.github.com/users/jragrag/following{/other_user}","gists_url":"https://api.github.com/users/jragrag/gists{/gist_id}","starred_url":"https://api.github.com/users/jragrag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jragrag/subscriptions","organizations_url":"https://api.github.com/users/jragrag/orgs","repos_url":"https://api.github.com/users/jragrag/repos","events_url":"https://api.github.com/users/jragrag/events{/privacy}","received_events_url":"https://api.github.com/users/jragrag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-10T13:35:53Z","updated_at":"2017-05-10T17:33:59Z","closed_at":null,"body":"Hi,\r\nI have a good running app when I added branch sdk then this issue comes during build:\r\n**Here's some of my output log:**\r\n:mergeReleaseShaders\r\n\r\n\r\n:compileReleaseShaders\r\n\r\n\r\n:generateReleaseAssets\r\n:mergeReleaseAssets\r\n\r\n\r\n:transformClassesWithDexForRelease\r\n FAILED\r\n\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':transformClassesWithDexForRelease'.\r\n> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;\r\n\r\n\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 29.688 secs\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\nError: cmd: 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\nNote: Some input files use unchecked or unsafe operations.\r\nNote: Recompile with -Xlint:unchecked for details.\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':transformClassesWithDexForRelease'.\r\n> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;\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\n\r\n**Here's my project.properties:**\r\ntarget=android-24\r\nandroid.library.reference.1=CordovaLib\r\ncordova.system.library.1=com.google.android.gms:play-services-ads:+\r\ncordova.gradle.include.1=cordova-plugin-badge/app-badge.gradle\r\ncordova.system.library.2=com.facebook.android:facebook-android-sdk:4.8.+\r\ncordova.system.library.3=com.google.android.gms:play-services-analytics:+\r\ncordova.system.library.4=com.google.android.gms:play-services-location:+\r\ncordova.system.library.5=com.android.support:appcompat-v7:24.1.0\r\ncordova.system.library.6=io.branch.sdk.android:library:2+\r\n\r\n**My Plugin List:**\r\nandroid-camera-permission 1.0.0 \"Android Camera Permission\"\r\nbranch-cordova-sdk 2.5.16 \"branch-cordova-sdk\"\r\ncom.phonegap.parsepushplugin 0.9.0 \"ParsePushPlugin\"\r\ncom.verso.cordova.clipboard 0.1.0 \"Clipboard\"\r\ncordova-base64-to-gallery 4.1.1 \"base64ToGallery\"\r\ncordova-plugin-admobpro 2.24.0 \"AdMob Plugin Pro\"\r\ncordova-plugin-app-event 1.2.0 \"Application Events\"\r\ncordova-plugin-app-version 0.1.8 \"AppVersion\"\r\ncordova-plugin-audio-recorder-api 0.0.1 \"AudioRecorderAPI\"\r\ncordova-plugin-badge 0.7.2 \"Badges\"\r\ncordova-plugin-browsersync 0.1.1 \"cordova-plugin-browsersync\"\r\ncordova-plugin-camera 2.3.0 \"Camera\"\r\ncordova-plugin-compat 1.1.0 \"Compat\"\r\ncordova-plugin-console 1.0.3 \"Console\"\r\ncordova-plugin-device 1.1.2 \"Device\"\r\ncordova-plugin-extension 1.5.1 \"Cordova Plugin Extension\"\r\ncordova-plugin-facebook4 1.7.1 \"Facebook Connect\"\r\ncordova-plugin-file 4.2.0 \"File\"\r\ncordova-plugin-file-transfer 1.5.1 \"File Transfer\"\r\ncordova-plugin-geolocation 2.2.0 \"Geolocation\"\r\ncordova-plugin-google-analytics 1.7.5 \"Google Universal Analytics Plugin\"\r\ncordova-plugin-inappbrowser 1.5.0 \"InAppBrowser\"\r\ncordova-plugin-locationservices 2.1.0 \"Google Location Services for Cordova - Android\"\r\ncordova-plugin-media 2.3.0 \"Media\"\r\ncordova-plugin-request-location-accuracy 2.2.0 \"Request Location Accuracy\"\r\ncordova-plugin-splashscreen 4.0.0 \"Splashscreen\"\r\ncordova-plugin-whitelist 1.2.2 \"Whitelist\"\r\ncordova-plugin-x-socialsharing 5.1.1 \"SocialSharing\"\r\ncordova-sqlite-storage 1.4.6-pre6a \"Cordova sqlite storage plugin\"\r\ncordova.plugins.diagnostic 3.4.2 \"Diagnostic\"\r\nes6-promise-plugin 4.1.0 \"Promise\"\r\nionic-plugin-keyboard 2.2.1 \"Keyboard\"\r\n\r\n**Any suggestion?**\r\nIonic version: 2.1.18\r\nCordova version: 6.4.0\r\nNode version: 5.6.0\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/comments/300556578","html_url":"https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/326#issuecomment-300556578","issue_url":"https://api.github.com/repos/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/326","id":300556578,"user":{"login":"ethanneff","id":2933593,"avatar_url":"https://avatars2.githubusercontent.com/u/2933593?v=3","gravatar_id":"","url":"https://api.github.com/users/ethanneff","html_url":"https://github.com/ethanneff","followers_url":"https://api.github.com/users/ethanneff/followers","following_url":"https://api.github.com/users/ethanneff/following{/other_user}","gists_url":"https://api.github.com/users/ethanneff/gists{/gist_id}","starred_url":"https://api.github.com/users/ethanneff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethanneff/subscriptions","organizations_url":"https://api.github.com/users/ethanneff/orgs","repos_url":"https://api.github.com/users/ethanneff/repos","events_url":"https://api.github.com/users/ethanneff/events{/privacy}","received_events_url":"https://api.github.com/users/ethanneff/received_events","type":"User","site_admin":false},"created_at":"2017-05-10T17:33:59Z","updated_at":"2017-05-10T17:33:59Z","body":"Hello,\r\n\r\nUnfortunately, this issue is unrelated to Branch. The `Multiple Dex Exception` happens whenever your app is too big ([over 64k methods](https://developer.android.com/studio/build/multidex.html)). Given the number of plugins you have in your app, I can understand why you are seeing this error. You might want to investigate other solutions to fix this problem ([for example](https://www.npmjs.com/package/cordova-plugin-multidex)).\r\n\r\nThanks,"}}
{"actor":{"display_login":"ethanneff"}}