{"action":"opened","issue":{"url":"https://api.github.com/repos/nhachicha/SnappyDB/issues/43","labels_url":"https://api.github.com/repos/nhachicha/SnappyDB/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/nhachicha/SnappyDB/issues/43/comments","events_url":"https://api.github.com/repos/nhachicha/SnappyDB/issues/43/events","html_url":"https://github.com/nhachicha/SnappyDB/issues/43","id":59544278,"number":43,"title":"Problem when importing this lib (UNEXPECTED TOP-LEVEL EXCEPTION:)","user":{"login":"dzfacts","id":6879473,"avatar_url":"https://avatars.githubusercontent.com/u/6879473?v=3","gravatar_id":"","url":"https://api.github.com/users/dzfacts","html_url":"https://github.com/dzfacts","followers_url":"https://api.github.com/users/dzfacts/followers","following_url":"https://api.github.com/users/dzfacts/following{/other_user}","gists_url":"https://api.github.com/users/dzfacts/gists{/gist_id}","starred_url":"https://api.github.com/users/dzfacts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzfacts/subscriptions","organizations_url":"https://api.github.com/users/dzfacts/orgs","repos_url":"https://api.github.com/users/dzfacts/repos","events_url":"https://api.github.com/users/dzfacts/events{/privacy}","received_events_url":"https://api.github.com/users/dzfacts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-02T20:29:35Z","updated_at":"2015-03-02T20:29:35Z","closed_at":null,"body":"I'm trying to import the library on my project, but I'm getting that exception.\r\n\r\nError:Execution failed for task ':app:dexDevDebug'.\r\n> com.android.ide.common.internal.LoggedErrorException: Failed to run command:\r\n\tC:\\android\\sdk\\build-tools\\21.1.1\\dx.bat --dex --no-optimize --output C:\\Users\\Danilo\\Documents\\AndroidStudioProjects\\Contele GE 2.0 Mobile\\app\\build\\intermediates\\dex\\dev\\debug --input-list=C:\\Users\\Danilo\\Documents\\AndroidStudioProjects\\Contele GE 2.0 Mobile\\app\\build\\intermediates\\tmp\\dex\\dev\\debug\\inputList.txt\r\nError Code:\r\n\t2\r\nOutput:\r\n\tUNEXPECTED TOP-LEVEL EXCEPTION:\r\n\tcom.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536\r\n\t\tat com.android.dx.merge.DexMerger$6.updateIndex(DexMerger.java:502)\r\n\t\tat com.android.dx.merge.DexMerger$IdMerger.mergeSorted(DexMerger.java:277)\r\n\t\tat com.android.dx.merge.DexMerger.mergeMethodIds(DexMerger.java:491)\r\n\t\tat com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:168)\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:454)\r\n\t\tat com.android.dx.command.dexer.Main.runMonoDex(Main.java:302)\r\n\t\tat com.android.dx.command.dexer.Main.run(Main.java:245)\r\n\t\tat com.android.dx.command.dexer.Main.main(Main.java:214)\r\n\t\tat com.android.dx.command.Main.main(Main.java:106)\r\n\r\nI'm not Gradle expert so I could'n find a solution."}}