{"action":"created","issue":{"url":"https://api.github.com/repos/afollestad/material-dialogs/issues/672","labels_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/672/labels{/name}","comments_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/672/comments","events_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/672/events","html_url":"https://github.com/afollestad/material-dialogs/issues/672","id":104219047,"number":672,"title":"Android Studio : Cannot build project with : android - compileSdkVersion 23","user":{"login":"r0boto","id":1136501,"avatar_url":"https://avatars.githubusercontent.com/u/1136501?v=3","gravatar_id":"","url":"https://api.github.com/users/r0boto","html_url":"https://github.com/r0boto","followers_url":"https://api.github.com/users/r0boto/followers","following_url":"https://api.github.com/users/r0boto/following{/other_user}","gists_url":"https://api.github.com/users/r0boto/gists{/gist_id}","starred_url":"https://api.github.com/users/r0boto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r0boto/subscriptions","organizations_url":"https://api.github.com/users/r0boto/orgs","repos_url":"https://api.github.com/users/r0boto/repos","events_url":"https://api.github.com/users/r0boto/events{/privacy}","received_events_url":"https://api.github.com/users/r0boto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/afollestad/material-dialogs/labels/can't%20reproduce","name":"can't reproduce","color":"000000"},{"url":"https://api.github.com/repos/afollestad/material-dialogs/labels/question","name":"question","color":"673AB7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-01T08:59:10Z","updated_at":"2015-10-16T06:16:35Z","closed_at":"2015-09-03T13:35:36Z","body":"Hello, i would like to use Your library but i faced with the following problem:\r\n\r\nWhein i synced the project with actualized app.gradle file and tried to build the project i get following error:\r\n\r\n```Gradle\r\n:app:dexDebug\r\nAGPBI: {\"kind\":\"simple\",\"text\":\"UNEXPECTED TOP-LEVEL EXCEPTION:\",\"sources\":[{}]}\r\nAGPBI: {\"kind\":\"simple\",\"text\":\"com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536\",\"sources\":[{}]}\r\nAGPBI: {\"kind\":\"simple\",\"text\":\"\\tat com.android.dx.merge.DexMerger$6.updateIndex(DexMerger.java:502)\",\"sources\":[{}]}\r\nAGPBI: {\"kind\":\"simple\",\"text\":\"\\tat com.android.dx.merge.DexMerger$IdMerger.mergeSorted(DexMerger.java:277)\",\"sources\":[{}]}\r\nAGPBI: {\"kind\":\"simple\",\"text\":\"\\tat com.android.dx.merge.DexMerger.mergeMethodIds(DexMerger.java:491)\",\"sources\":[{}]}\r\nAGPBI: {\"kind\":\"simple\",\"text\":\"\\tat com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:168)\",\"sources\":[{}]}\r\nAGPBI: {\"kind\":\"simple\",\"text\":\"\\tat com.android.dx.merge.DexMerger.merge(DexMerger.java:189)\",\"sources\":[{}]}\r\nAGPBI: {\"kind\":\"simple\",\"text\":\"\\tat com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:502)\",\"sources\":[{}]}\r\nAGPBI: {\"kind\":\"simple\",\"text\":\"\\tat com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)\",\"sources\":[{}]}\r\nAGPBI: {\"kind\":\"simple\",\"text\":\"\\tat com.android.dx.command.dexer.Main.run(Main.java:277)\",\"sources\":[{}]}\r\nAGPBI: {\"kind\":\"simple\",\"text\":\"\\tat com.android.dx.command.dexer.Main.main(Main.java:245)\",\"sources\":[{}]}\r\nAGPBI: {\"kind\":\"simple\",\"text\":\"\\tat com.android.dx.command.Main.main(Main.java:106)\",\"sources\":[{}]}\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 ':app:dexDebug'.\r\n> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\\Program Files\\Java\\jdk1.7.0_79\\bin\\java.exe'' finished with non-zero exit value 2\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\n\r\n\r\napp.gradle file looks following:\r\n```Gradle\r\napply plugin: 'com.android.application'\r\n\r\nandroid {\r\n    compileSdkVersion 23\r\n    buildToolsVersion \"23.0.0\"\r\n\r\n    defaultConfig {\r\n        applicationId \"com.xxx.yyy.zzz\"\r\n        minSdkVersion 18\r\n        targetSdkVersion 23\r\n        versionCode 1\r\n        versionName \"1.0\"\r\n        testInstrumentationRunner \"android.support.test.runner.AndroidJUnitRunner\"\r\n    }\r\n    buildTypes {\r\n        release {\r\n            minifyEnabled false\r\n            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'\r\n        }\r\n    }\r\n    lintOptions {\r\n        abortOnError false\r\n    }\r\n    packagingOptions {\r\n        exclude 'LICENSE.txt'\r\n        exclude 'META-INF/LICENSE.txt'\r\n        exclude 'META-INF/NOTICE.txt'\r\n    }\r\n}\r\n\r\nrepositories {\r\n    jcenter()\r\n    mavenCentral()\r\n    maven { url \"https://oss.sonatype.org/content/repositories/snapshots/\" }\r\n    maven { url \"https://jitpack.io\" }\r\n    maven { url 'https://dl.bintray.com/drummer-aidan/maven' }\r\n}\r\n\r\ndependencies {\r\n    compile fileTree(dir: 'libs', include: ['*.jar'])\r\n    compile 'com.android.support:appcompat-v7:23.0.0'\r\n    compile 'com.google.android.gms:play-services:7.8.0'\r\n    compile 'com.mcxiaoke.volley:library:1.0.18'\r\n    compile 'com.orhanobut:logger:1.11'\r\n    compile 'com.google.code.gson:gson:2.3.1'\r\n    compile 'com.android.support:design:23.0.0'\r\n    // UI TESTING DEPENDENCIES\r\n    androidTestCompile 'com.android.support:support-annotations:23.0.0'\r\n    androidTestCompile 'com.android.support.test:runner:0.3'\r\n    androidTestCompile 'com.android.support.test:rules:0.3'\r\n    androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2'\r\n    androidTestCompile 'com.android.support.test.espresso:espresso-intents:2.2'\r\n    androidTestCompile 'com.android.support.test.espresso:espresso-web:2.2'\r\n    androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.1'\r\n    androidTestCompile 'com.android.support.test.espresso:espresso-contrib:2.2'\r\n    // ORM DATABASE DEPENDENCIES\r\n    compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'\r\n    // STETHO CORE\r\n    compile 'com.facebook.stetho:stetho:1.1.1'\r\n    compile 'com.facebook.stetho:stetho-urlconnection:1.1.1'\r\n    compile 'com.facebook.stetho:stetho-okhttp:1.1.1'\r\n    // GOOGLE ANALYTICS\r\n    compile 'com.google.android.gms:play-services-analytics:7.8.0'\r\n    // JODA TIME FOR ANDROID\r\n    compile 'net.danlew:android.joda:2.8.2'\r\n    // MATERIAL DIALOGS\r\n    compile 'com.afollestad:material-dialogs:0.7.9.1'\r\n\r\n}\r\n```\r\n\r\n\r\nAnd message in the gradle build is following:\r\n```Gradle\r\nError:Execution failed for task ':app:dexDebug'.\r\n> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\\Program Files\\Java\\jdk1.7.0_79\\bin\\java.exe'' finished with non-zero exit value 2\r\n```\r\n\r\nHow can i solve it this issue please?"},"comment":{"url":"https://api.github.com/repos/afollestad/material-dialogs/issues/comments/148622542","html_url":"https://github.com/afollestad/material-dialogs/issues/672#issuecomment-148622542","issue_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/672","id":148622542,"user":{"login":"AzureusSme","id":8404410,"avatar_url":"https://avatars.githubusercontent.com/u/8404410?v=3","gravatar_id":"","url":"https://api.github.com/users/AzureusSme","html_url":"https://github.com/AzureusSme","followers_url":"https://api.github.com/users/AzureusSme/followers","following_url":"https://api.github.com/users/AzureusSme/following{/other_user}","gists_url":"https://api.github.com/users/AzureusSme/gists{/gist_id}","starred_url":"https://api.github.com/users/AzureusSme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AzureusSme/subscriptions","organizations_url":"https://api.github.com/users/AzureusSme/orgs","repos_url":"https://api.github.com/users/AzureusSme/repos","events_url":"https://api.github.com/users/AzureusSme/events{/privacy}","received_events_url":"https://api.github.com/users/AzureusSme/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T06:16:35Z","updated_at":"2015-10-16T06:16:35Z","body":"Yeah, i'm from youtube. Your videos are great. Keep up the nice work. Greetings from México. :D"}}