Multiple dex files 简易方案

com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;

在build.gradle文件中增加:

android {


dexOptions {
preDexLibraries = false
}

}

参考: http://stackoverflow.com/questions/20989317/multiple-dex-files-define-landroid-support-v4-accessibilityservice-accessibility

 

留下评论