Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat

前端 未结 26 3017
伪装坚强ぢ
伪装坚强ぢ 2020-11-22 02:29

If I run gradle assembleDebug from the command line, I am suddenly getting this error:

UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dx.util.DexEx         


        
26条回答
  •  不知归路
    2020-11-22 02:50

    I was able to solve the problem in my react native project by simply adding

    configurations {
            all*.exclude group: 'com.android.support', module: 'support-compat'
            all*.exclude group: 'com.android.support', module: 'support-core-ui'
        }
    

    at the end of my android\app\build.gradle file

提交回复
热议问题