条目名称“javax/annotation/CheckReturnValue.java”与生成调试apk冲突

条目名称“javax/annotation/CheckReturnValue.java”与生成调试apk冲突,java,android,android-studio,gradle,annotations,Java,Android,Android Studio,Gradle,Annotations,我正在使用Android Studio 4.0.1。当我尝试生成该程序的调试版本时,出现以下错误。生产发布版本没有问题 创建调试版本 错误 条目名称“javax/annotation/CheckReturnValue.java”发生冲突 格雷德尔先生 apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.firebase.cr

我正在使用Android Studio 4.0.1。当我尝试生成该程序的调试版本时,出现以下错误。生产发布版本没有问题

创建调试版本

错误

条目名称“javax/annotation/CheckReturnValue.java”发生冲突

格雷德尔先生

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
//apply plugin: 'com.google.firebase.firebase-perf'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "ai"
        minSdkVersion 19
        targetSdkVersion 28
        versionCode 6
        versionName "0.3.1"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        vectorDrawables.useSupportLibrary = true
        multiDexEnabled true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
        debug {
            applicationIdSuffix '.dev'
        }
    }
    dataBinding {
        enabled = true
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.0.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'com.google.android.material:material:1.0.0'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'com.android.support:multidex:1.0.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.1.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'com.kailashdabhi:om-recorder:1.1.5'
    implementation 'com.fxn769:musicwave:1.0'
    implementation 'com.tbuonomo.andrui:viewpagerdotsindicator:4.1.2'
//    implementation "androidx.viewpager2:viewpager2:1.0.0"

    //firebase
    implementation 'com.google.firebase:firebase-analytics:17.5.0'
    implementation 'com.google.firebase:firebase-crashlytics:17.2.1'
    implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
    implementation 'com.google.firebase:firebase-messaging:20.2.4'
//    implementation 'com.google.firebase:firebase-perf:19.0.5'

    implementation 'com.squareup.picasso:picasso:2.71828'
    implementation 'com.github.GrenderG:Toasty:1.4.1'
    implementation 'com.squareup.retrofit2:retrofit:2.4.0'
    implementation 'com.squareup.retrofit2:converter-gson:2.1.0'
    implementation 'com.squareup.okhttp3:okhttp:3.10.0'
    implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.2.0'
    implementation 'com.squareup.okhttp3:logging-interceptor:3.12.1'
    implementation 'com.github.amirdew:JSON:v1.0.0'
    implementation 'com.github.clans:fab:1.6.4'

    implementation 'com.facebook.stetho:stetho-okhttp3:1.5.0'
    implementation 'com.facebook.stetho:stetho:1.5.0'


    implementation 'com.github.ohoussein.playpauseview:playpauseview:1.0.2'
    implementation 'com.nabinbhandari.android:permissions:3.7'

    implementation 'com.job:droidnet:2.0.0'
    implementation 'com.daimajia.easing:library:2.0@aar'
    implementation 'com.daimajia.androidanimations:library:2.3@aar'

    implementation 'com.getkeepsafe.taptargetview:taptargetview:1.13.0'

}

我清理了项目,甚至重建了它,但问题仍然存在。

从调试文件夹中删除现有的apk并重建apk应该可以工作