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

前端 未结 26 3355
伪装坚强ぢ
伪装坚强ぢ 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:59

    In my case the problem was caused by version inconsistency:

    Build tools 25
    compileSdk 24
    targetSdk 24
    Support library 24
    

    The solution was simple: Make everything version 25

提交回复
热议问题