【发布时间】:2015-11-26 10:21:06
【问题描述】:
我正在使用一个需要激活渲染脚本支持模式的库。像这样
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
renderscriptTargetApi 20
renderscriptSupportModeEnabled true
}
但是当我尝试运行应用程序时,我有这个:
Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.
java.util.zip.ZipException: duplicate entry: android/support/annotation
/Keep.class
Keep.class 位于 annotation-support lib 和 rendserscript lib 中,都来自 Google,所以我不知道该怎么做。
【问题讨论】:
标签: android annotations android-gradle-plugin render libs