Error:Error converting bytecode to dex:
Cause: com.android.dex.DexException: Multiple dex files define Lcom/androidquery/util/Constants;
I have followed every stackoverflow
question on this but none of it solved my problem.I am still getting the error.
Unable to execute dex: Multiple dex files define
Android Studio Gradle Error: Multiple dex files define
Unable to execute dex: Multiple dex files define Lcom/myapp/R$array;
//apply plugin: 'com.android.library'
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '25.0.0'
defaultConfig {
applicationId "com.andromeda.kunalbhatia.demo.hungamaplayer"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.google.android.exoplayer:exoplayer:r1.5.8'
compile 'com.android.support:mediarouter-v7:25.3.1'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.googlecode.android-query:android-query:0.25.9'
}