我对Android很新颖。当我建立我的当前项目我得到这个错误:将字节码转换为dex时出错
Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
这是我的依赖关系:
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.+'
compile 'com.android.support:recyclerview-v7:23.+'
compile 'com.android.support:support-v4:23.+'
compile 'com.google.code.gson:gson:2.5'
compile 'com.makeramen:roundedimageview:2.2.1'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.easing:library:[email protected]'
compile 'com.daimajia.androidanimations:library:[email protected]'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:support-v4:+'
compile 'com.squareup.picasso:picasso:2.3.2'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.slider:library:[email protected]'
compile 'de.hdodenhof:circleimageview:2.0.0'
compile 'com.facebook.android:facebook-android-sdk:4.5.0'
compile 'com.squareup.okhttp3:okhttp:3.2.0'
compile 'com.kyleduo.switchbutton:library:1.4.0'
compile files('libs/JTransforms-3.1-with-dependencies.jar')
compile 'com.github.Semantive:waveform-android:v1.2'
compile files('libs/TarsosDSP-Android-latest.jar')
}
我使用gradle 2.13
和gradle-build 2.1
。
有人告诉我清理项目,但没有奏效。请帮忙。
谢谢
对不起你能解释更详细?我使用的是OSX,我无法找到该文件 –