{"action":"created","issue":{"url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/1028","labels_url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/1028/labels{/name}","comments_url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/1028/comments","events_url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/1028/events","html_url":"https://github.com/Wizcorp/phonegap-facebook-plugin/issues/1028","id":82358286,"number":1028,"title":"Plugin incompatible in Android: https://github.com/phonegap-build/PushPlugin.git","user":{"login":"danicastanos","id":11208134,"avatar_url":"https://avatars.githubusercontent.com/u/11208134?v=3","gravatar_id":"","url":"https://api.github.com/users/danicastanos","html_url":"https://github.com/danicastanos","followers_url":"https://api.github.com/users/danicastanos/followers","following_url":"https://api.github.com/users/danicastanos/following{/other_user}","gists_url":"https://api.github.com/users/danicastanos/gists{/gist_id}","starred_url":"https://api.github.com/users/danicastanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danicastanos/subscriptions","organizations_url":"https://api.github.com/users/danicastanos/orgs","repos_url":"https://api.github.com/users/danicastanos/repos","events_url":"https://api.github.com/users/danicastanos/events{/privacy}","received_events_url":"https://api.github.com/users/danicastanos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-29T09:51:29Z","updated_at":"2015-05-30T04:37:49Z","closed_at":null,"body":"When the two plugins are added to the project in Android this error is shown (in iOS works perfectly):\r\nexec] UNEXPECTED TOP-LEVEL EXCEPTION:\r\n     [exec] com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;\r\n     [exec] \tat com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)\r\n     [exec] \tat com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)\r\n     [exec] \tat com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)\r\n     [exec] \tat com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)\r\n     [exec] \tat com.android.dx.merge.DexMerger.merge(DexMerger.java:189)\r\n     [exec] \tat com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)\r\n     [exec] \tat com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)\r\n     [exec] \tat com.android.dx.command.dexer.Main.run(Main.java:246)\r\n     [exec] \tat com.android.dx.command.dexer.Main.main(Main.java:215)\r\n     [exec] \tat com.android.dx.command.Main.main(Main.java:106)\r\n     [exec]\r\n     [exec] :dexRelease FAILED\r\n     [exec]\r\n     [exec] BUILD FAILED\r\n     [exec]\r\n     [exec] Total time: 30.975 secs\r\n     [exec]\r\n     [exec] FAILURE: Build failed with an exception.\r\n     [exec]\r\n     [exec] * What went wrong:\r\n     [exec] Execution failed for task ':dexRelease'.\r\n     [exec] > com.android.ide.common.internal.LoggedErrorException: Failed to run command:\r\n     [exec]   \t/Users/danicastanos/Library/Android/sdk/build-tools/22.0.1/dx --dex --output /Users/danicastanos/Documents/koala/app/platforms/android/build/intermediates/dex/release --input-list=/Users/danicastanos/Documents/koala/app/platforms/android/build/intermediates/tmp/dex/release/inputList.txt\r\n     [exec]   Error Code:\r\n     [exec]   \t2\r\n     [exec]   Output:\r\n     [exec]\r\n     [exec]   \tUNEXPECTED TOP-LEVEL EXCEPTION:\r\n     [exec]   \tcom.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;\r\n     [exec]   \t\tat com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)\r\n     [exec]   \t\tat com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)\r\n     [exec]   \t\tat com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)\r\n     [exec]   \t\tat com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)\r\n     [exec]   \t\tat com.android.dx.merge.DexMerger.merge(DexMerger.java:189)\r\n     [exec]   \t\tat com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)\r\n     [exec]   \t\tat com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)\r\n     [exec]   \t\tat com.android.dx.command.dexer.Main.run(Main.java:246)\r\n     [exec]   \t\tat com.android.dx.command.dexer.Main.main(Main.java:215)\r\n     [exec]   \t\tat com.android.dx.command.Main.main(Main.java:106)\r\n     [exec]\r\n     [exec]\r\n     [exec]\r\n     [exec] * Try:\r\n     [exec] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n     [exec] ERROR building one of the platforms: Error: /Users/danicastanos/Documents/koala/app/platforms/android/cordova/build: Command failed with exit code 8\r\n     [exec] You may not have the required environment or OS to build this project\r\n     [exec]\r\n     [exec] /Users/danicastanos/Documents/koala/app/platforms/android/cordova/node_modules/q/q.js:126\r\n     [exec]                     throw e;\r\n     [exec]                           ^\r\n     [exec] Error code 1 for command: /Users/danicastanos/Documents/koala/app/platforms/android/gradlew with args: cdvBuildRelease,-b,/Users/danicastanos/Documents/koala/app/platforms/android/build.gradle,-Dorg.gradle.daemon=true\r\n     [exec] Error: /Users/danicastanos/Documents/koala/app/platforms/android/cordova/build: Command failed with exit code 8\r\n     [exec]     at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)\r\n     [exec]     at ChildProcess.emit (events.js:98:17)\r\n     [exec]     at maybeClose (child_process.js:766:16)\r\n     [exec]     at Process.ChildProcess._handle.onexit (child_process.js:833:5)"},"comment":{"url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/comments/106988287","html_url":"https://github.com/Wizcorp/phonegap-facebook-plugin/issues/1028#issuecomment-106988287","issue_url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/1028","id":106988287,"user":{"login":"julienbrument","id":2833099,"avatar_url":"https://avatars.githubusercontent.com/u/2833099?v=3","gravatar_id":"","url":"https://api.github.com/users/julienbrument","html_url":"https://github.com/julienbrument","followers_url":"https://api.github.com/users/julienbrument/followers","following_url":"https://api.github.com/users/julienbrument/following{/other_user}","gists_url":"https://api.github.com/users/julienbrument/gists{/gist_id}","starred_url":"https://api.github.com/users/julienbrument/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienbrument/subscriptions","organizations_url":"https://api.github.com/users/julienbrument/orgs","repos_url":"https://api.github.com/users/julienbrument/repos","events_url":"https://api.github.com/users/julienbrument/events{/privacy}","received_events_url":"https://api.github.com/users/julienbrument/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T04:37:49Z","updated_at":"2015-05-30T04:37:49Z","body":"After replace android-support-v4.jar  by https://github.com/MobileChromeApps/cordova-plugin-android-support-v4, delete android-support-v13.jar from /platforms/android/libs.\r\nWorks for me ! (with latest ionic and cordova )"}}