{"action":"created","issue":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/14","labels_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/14/comments","events_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/14/events","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/14","id":117874925,"number":14,"title":"Conflict with phonegap-facebook-plugin building Android","user":{"login":"francorest","id":1680235,"avatar_url":"https://avatars.githubusercontent.com/u/1680235?v=3","gravatar_id":"","url":"https://api.github.com/users/francorest","html_url":"https://github.com/francorest","followers_url":"https://api.github.com/users/francorest/followers","following_url":"https://api.github.com/users/francorest/following{/other_user}","gists_url":"https://api.github.com/users/francorest/gists{/gist_id}","starred_url":"https://api.github.com/users/francorest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francorest/subscriptions","organizations_url":"https://api.github.com/users/francorest/orgs","repos_url":"https://api.github.com/users/francorest/repos","events_url":"https://api.github.com/users/francorest/events{/privacy}","received_events_url":"https://api.github.com/users/francorest/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-19T18:17:15Z","updated_at":"2016-01-29T21:12:04Z","closed_at":"2016-01-29T21:12:04Z","body":"Hi,\r\nI'm developing an application in Ionic. The project includes Background Geolocation and Facebook plugins, and work great on iOS, but on Android can not be compiled together (successfully compiled if only one of the plugins is installed).\r\nApparently there is a problem with duplication of dependencies. The specific error is \"Multiple files defined dex\". After searching for solutions I read that Facebook plugin use android-support-v4, and quite possibly generates conflicts with some dependence on this project.\r\n\r\nHere's my build error.\r\n```\r\nUNEXPECTED TOP-LEVEL EXCEPTION:\r\ncom.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;\r\n\tat com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:579)\r\n\tat com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:535)\r\n\tat com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:517)\r\n\tat com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:164)\r\n\tat com.android.dx.merge.DexMerger.merge(DexMerger.java:188)\r\n\tat com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:504)\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\nCan you think of any solution to this problem?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/comments/176971213","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/14#issuecomment-176971213","issue_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/14","id":176971213,"user":{"login":"mauron85","id":359450,"avatar_url":"https://avatars.githubusercontent.com/u/359450?v=3","gravatar_id":"","url":"https://api.github.com/users/mauron85","html_url":"https://github.com/mauron85","followers_url":"https://api.github.com/users/mauron85/followers","following_url":"https://api.github.com/users/mauron85/following{/other_user}","gists_url":"https://api.github.com/users/mauron85/gists{/gist_id}","starred_url":"https://api.github.com/users/mauron85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauron85/subscriptions","organizations_url":"https://api.github.com/users/mauron85/orgs","repos_url":"https://api.github.com/users/mauron85/repos","events_url":"https://api.github.com/users/mauron85/events{/privacy}","received_events_url":"https://api.github.com/users/mauron85/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T21:12:04Z","updated_at":"2016-01-29T21:12:04Z","body":"Added notion into README.md how to resolve [multidex issues](https://github.com/mauron85/cordova-plugin-background-geolocation#multidex) specially facebook plugin. Closing"}}