gradle-inteliJ

1.Android MultiDex Error:Gradle: Execution failed for task ':app:transformClassesWithJarMergingForDebug'.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/annotation/ColorRes.class

Error:Gradle: Execution failed for task ':app:transformClassesWithJarMergingForDebug'.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/multidex/MultiDex$V14.class

solve it : 'com.android.support:multidex:1.0.0'。=> 'com.android.support:multidex:1.0.1'。

2.Error:Gradle: Execution failed for task ':app:transformClassesWithJarMergingForDebug'.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/a/a/a.class

solve it : copy the library's file to the main project. 使用某第三方包时,给出了错误的目录架构,直接拷贝该项目仅有的3个类进主项目解决

3.Error:(213, -1) Gradle: Attribute "titleTextColor" has already been defined Style error

results matching ""

    No results matching ""