{"action":"closed","issue":{"url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/158","repository_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4","labels_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/158/comments","events_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/158/events","html_url":"https://github.com/jeduan/cordova-plugin-facebook4/issues/158","id":138763140,"number":158,"title":"Erro unexpected  in Phonegap Build for android","user":{"login":"ivanssa","id":3166174,"avatar_url":"https://avatars.githubusercontent.com/u/3166174?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanssa","html_url":"https://github.com/ivanssa","followers_url":"https://api.github.com/users/ivanssa/followers","following_url":"https://api.github.com/users/ivanssa/following{/other_user}","gists_url":"https://api.github.com/users/ivanssa/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanssa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanssa/subscriptions","organizations_url":"https://api.github.com/users/ivanssa/orgs","repos_url":"https://api.github.com/users/ivanssa/repos","events_url":"https://api.github.com/users/ivanssa/events{/privacy}","received_events_url":"https://api.github.com/users/ivanssa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-06T07:33:14Z","updated_at":"2016-03-06T17:34:35Z","closed_at":"2016-03-06T17:34:35Z","body":"I am unable to compile an app because of an unexpected error that began to occur this week in build.phonegap site when trying to compile my app the site refuses to compile and displays the following error: \"Oh geez Your build failed Sorry,.. but a problem occurred on the build server \"to remove the entry of the plugin I can compile so I am writing to know how to solve ...\r\nI am using the following entry in config.xml \r\n\r\n```\r\n<plugin name=\"cordova-plugin-facebook4\" source=\"npm\" spec=\"1.4.0\" >\r\n\t\t<param name=\"APP_ID\" value=\"myappid\" />\r\n\t\t<param name=\"APP_NAME\" value=\"myappname\" />\r\n</plugin>\r\n```\r\n\r\nand I get the following error log:\r\n\r\n```\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/android-sdk/build-tools/23.0.1/dx --dex --no-optimize --output /project/build/intermediates/dex/debug --input-list=/project/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/actions/ReserveIntents;\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: 1 mins 6.261 secs\r\n\r\n/project/cordova/node_modules/q/q.js:126\r\n                    throw e;\r\n                    ^\r\nError code 1 for command: /project/gradlew with args: cdvBuildDebug,-b,/project/build.gradle,-Dorg.gradle.daemon=true\r\n\t\r\n```"}}