{"action":"opened","issue":{"url":"https://api.github.com/repos/cloudinary/cloudinary_java/issues/114","repository_url":"https://api.github.com/repos/cloudinary/cloudinary_java","labels_url":"https://api.github.com/repos/cloudinary/cloudinary_java/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/cloudinary/cloudinary_java/issues/114/comments","events_url":"https://api.github.com/repos/cloudinary/cloudinary_java/issues/114/events","html_url":"https://github.com/cloudinary/cloudinary_java/issues/114","id":280741659,"number":114,"title":"Error merging dex","user":{"login":"Eipeks","id":18234858,"avatar_url":"https://avatars1.githubusercontent.com/u/18234858?v=4","gravatar_id":"","url":"https://api.github.com/users/Eipeks","html_url":"https://github.com/Eipeks","followers_url":"https://api.github.com/users/Eipeks/followers","following_url":"https://api.github.com/users/Eipeks/following{/other_user}","gists_url":"https://api.github.com/users/Eipeks/gists{/gist_id}","starred_url":"https://api.github.com/users/Eipeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eipeks/subscriptions","organizations_url":"https://api.github.com/users/Eipeks/orgs","repos_url":"https://api.github.com/users/Eipeks/repos","events_url":"https://api.github.com/users/Eipeks/events{/privacy}","received_events_url":"https://api.github.com/users/Eipeks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-09T18:18:38Z","updated_at":"2017-12-09T18:18:38Z","closed_at":null,"author_association":"NONE","body":"Here's my build.gradle file(project)\r\n\r\n// Top-level build file where you can add configuration options common to all sub-projects/modules.\r\n\r\nbuildscript {\r\n    ext.kotlin_version = '1.1.51'\r\n    repositories {\r\n        google()\r\n        jcenter()\r\n    }\r\n    dependencies {\r\n        classpath 'com.android.tools.build:gradle:3.0.1'\r\n        classpath \"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version\"\r\n\r\n        // NOTE: Do not place your application dependencies here; they belong\r\n        // in the individual module build.gradle files\r\n    }\r\n}\r\n\r\nallprojects {\r\n    repositories {\r\n        google()\r\n        jcenter()\r\n    }\r\n}\r\n\r\ntask clean(type: Delete) {\r\n    delete rootProject.buildDir\r\n}\r\n\r\nHere's my build.gradle(app)\r\n\r\napply plugin: 'com.android.application'\r\n\r\napply plugin: 'kotlin-android'\r\n\r\napply plugin: 'kotlin-android-extensions'\r\n\r\nandroid {\r\n    compileSdkVersion 26\r\n    defaultConfig {\r\n        applicationId \"i.am.eipeks.cloudinary\"\r\n        minSdkVersion 17\r\n        targetSdkVersion 26\r\n        versionCode 1\r\n        versionName \"1.0\"\r\n        testInstrumentationRunner \"android.support.test.runner.AndroidJUnitRunner\"\r\n        multiDexEnabled true\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}\r\n\r\ndependencies {\r\n    implementation fileTree(include: ['*.jar'], dir: 'libs')\r\n    implementation \"org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version\"\r\n    implementation 'com.android.support:appcompat-v7:26.1.0'\r\n    implementation 'com.android.support.constraint:constraint-layout:1.0.2'\r\n    implementation group: 'com.cloudinary', name: 'cloudinary-android', version: '1.20.0'\r\n    implementation 'com.pusher:pusher-java-client:1.5.0'\r\n    implementation 'com.loopj.android:android-async-http:1.4.9'\r\n    implementation 'com.google.code.gson:gson:2.8.0'\r\n    implementation 'com.squareup.picasso:picasso:2.5.2'\r\n    testImplementation 'junit:junit:4.12'\r\n    androidTestImplementation 'com.android.support.test:runner:1.0.1'\r\n    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'\r\n}\r\n\r\n\r\nBelow is the error message I'm getting\r\n\r\nInformation:Gradle tasks [clean, :app:assembleDebug]\r\nError:Error converting bytecode to dex:\r\nCause: com.android.dex.DexException: Multiple dex files define Lcom/cloudinary/Cloudinary;\r\nError:com.android.dex.DexException: Multiple dex files define Lcom/cloudinary/Cloudinary;\r\nError:\tat com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:661)\r\nError:\tat com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:616)\r\nError:\tat com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:598)\r\nError:\tat com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)\r\nError:\tat com.android.dx.merge.DexMerger.merge(DexMerger.java:198)\r\nError:\tat com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:61)\r\nError:\tat com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:36)\r\nError:\tat java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)\r\nError:\tat java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)\r\nError:\tat java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)\r\nError:\tat java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)\r\nError:\tat java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)\r\nError:Execution failed for task ':app:transformDexArchiveWithDexMergerForDebug'.\r\n> com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Lcom/cloudinary/Cloudinary;"}}
{"actor":{"display_login":"Eipeks"}}