{"action":"created","issue":{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/686","labels_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/686/labels{/name}","comments_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/686/comments","events_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/686/events","html_url":"https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/686","id":112869726,"number":686,"title":"com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzkf;","user":{"login":"roblav96","id":1457327,"avatar_url":"https://avatars.githubusercontent.com/u/1457327?v=3","gravatar_id":"","url":"https://api.github.com/users/roblav96","html_url":"https://github.com/roblav96","followers_url":"https://api.github.com/users/roblav96/followers","following_url":"https://api.github.com/users/roblav96/following{/other_user}","gists_url":"https://api.github.com/users/roblav96/gists{/gist_id}","starred_url":"https://api.github.com/users/roblav96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblav96/subscriptions","organizations_url":"https://api.github.com/users/roblav96/orgs","repos_url":"https://api.github.com/users/roblav96/repos","events_url":"https://api.github.com/users/roblav96/events{/privacy}","received_events_url":"https://api.github.com/users/roblav96/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-22T19:06:19Z","updated_at":"2015-10-22T19:40:48Z","closed_at":"2015-10-22T19:18:19Z","body":"I'm looking to see how your plugin can play nicely with Google Cloud Messaging for Android. I'm using Onesignal.\r\n\r\n```\r\n:preDexDebug\r\n:dexDebug\r\nUNEXPECTED TOP-LEVEL EXCEPTION:\r\ncom.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzkf;\r\n\tat com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)\r\n\tat com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)\r\n\tat com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)\r\n\tat com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)\r\n\tat com.android.dx.merge.DexMerger.merge(DexMerger.java:189)\r\n\tat com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:502)\r\n\tat com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)\r\n\tat com.android.dx.command.dexer.Main.run(Main.java:277)\r\n\tat com.android.dx.command.dexer.Main.main(Main.java:245)\r\n\tat com.android.dx.command.Main.main(Main.java:106)\r\n\r\n FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':dexDebug'.\r\n> com.android.ide.common.internal.LoggedErrorException: Failed to run command:\r\n  \t/Users/roblav96/Library/Android/build-tools/23.0.1/dx --dex --no-optimize --output /Users/roblav96/Downloads/onesignal/platforms/android/build/intermediates/dex/debug --input-list=/Users/roblav96/Downloads/onesignal/platforms/android/build/intermediates/tmp/dex/debug/inputList.txt\r\n  Error Code:\r\n  \t2\r\n  Output:\r\n  \t\r\n  \tUNEXPECTED TOP-LEVEL EXCEPTION:\r\n  \tcom.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzkf;\r\n  \t\tat com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)\r\n  \t\tat com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)\r\n  \t\tat com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)\r\n  \t\tat com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)\r\n  \t\tat com.android.dx.merge.DexMerger.merge(DexMerger.java:189)\r\n  \t\tat com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:502)\r\n  \t\tat com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)\r\n  \t\tat com.android.dx.command.dexer.Main.run(Main.java:277)\r\n  \t\tat com.android.dx.command.dexer.Main.main(Main.java:245)\r\n  \t\tat com.android.dx.command.Main.main(Main.java:106)\r\n  \t\r\n\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: 18.676 secs\r\n\r\n/Users/roblav96/Downloads/onesignal/platforms/android/cordova/node_modules/q/q.js:126\r\n                    throw e;\r\n                    ^\r\nError code 1 for command: /Users/roblav96/Downloads/onesignal/platforms/android/gradlew with args: cdvBuildDebug,-b,/Users/roblav96/Downloads/onesignal/platforms/android/build.gradle,-PcdvBuildArch=arm,-Dorg.gradle.daemon=true\r\n```\r\ncordova 5.3.3\r\nmap plugin 1.3.4\r\nonesignal sdk 1.1.9\r\nandroid sdk tools 24.4.1\r\nplatform tools 23.0.1\r\nandroid support 24\r\nsupport library 23.1\r\nplay services 27\r\ngoogle repositories 22\r\n\r\nIt looks like these guys over here fixed this issue:\r\nhttps://github.com/phonegap/phonegap-plugin-push/issues/136\r\n\r\nI'm just not too sure how to incorporate it into my project.\r\n\r\nAny ideas?\r\n"},"comment":{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/comments/150334540","html_url":"https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/686#issuecomment-150334540","issue_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/686","id":150334540,"user":{"login":"Hirbod","id":504909,"avatar_url":"https://avatars.githubusercontent.com/u/504909?v=3","gravatar_id":"","url":"https://api.github.com/users/Hirbod","html_url":"https://github.com/Hirbod","followers_url":"https://api.github.com/users/Hirbod/followers","following_url":"https://api.github.com/users/Hirbod/following{/other_user}","gists_url":"https://api.github.com/users/Hirbod/gists{/gist_id}","starred_url":"https://api.github.com/users/Hirbod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hirbod/subscriptions","organizations_url":"https://api.github.com/users/Hirbod/orgs","repos_url":"https://api.github.com/users/Hirbod/repos","events_url":"https://api.github.com/users/Hirbod/events{/privacy}","received_events_url":"https://api.github.com/users/Hirbod/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T19:40:48Z","updated_at":"2015-10-22T19:40:48Z","body":"Please ask on Stackoverflow, I can't give generel Cordova/Android support!"}}