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

前端 未结 26 3395
伪装坚强ぢ
伪装坚强ぢ 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 03:06

    Also to note you can see your android dependencies, by going to your Android Studio Gradle view, and selecting the target "androidDependencies".

    One more tip: I was having this issue, until I removed the v4 support lib from the libs folder in both the project and my related module/library project(s).

提交回复
热议问题