gpt4 book ai didi

java - 将字节码转换为 dex 时出错

转载 作者:行者123 更新时间:2023-12-02 03:37:22 30 4
gpt4 key购买 nike

我对 Android 还很陌生。当我构建当前项目时,我收到此错误:

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:1.0.1@aar'
compile 'com.daimajia.androidanimations:library:1.1.3@aar'
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:1.1.5@aar'
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.13gradle-build 2.1

有人告诉我清理该项目,但没有成功。请帮忙。

谢谢

最佳答案

问题可能是您的任何 Java 类文件中的包名称错误,我遇到了同样的问题,这是因为这个问题。尝试重建您的项目并再次检查。

关于java - 将字节码转换为 dex 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37287285/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com