我正在使用一个需要激活渲染脚本支持模式的库。像这样
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,所以我不知道该怎么做。