···
{
"minSdkVersion": "21",
"abis": [
"arm64-v8a"
],
"dependencies": [
"com.github.SUPERCILEX.poi-android:poi:3.17"
]
}
···
我原来直接引用org.apache.poi.poi库,现在改成上面这样的依赖配置,云打包自定义安卓手机基座时报错:
···
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:checkReleaseDuplicateClasses'.A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class com.microsoft.schemas.office.excel.CTClientData found in modules jetified-poi-3.17 (com.github.SUPERCILEX.poi-android:poi:3.17) and jetified-poi-ooxml-schemas-4.1.2 (org.apache.poi:poi-ooxml-schemas:4.1.2)
Duplicate class com.microsoft.schemas.office.excel.CTClientData$Factory found in modules jetified-poi-3.17 (com.github.SUPERCILEX.poi-android:poi:3.17) and jetified-poi-ooxml-schemas-4.1.2 (org.apache.poi:poi-ooxml-schemas:4.1.2)
.....
···
请问怎么更新插件云端打包依赖配置?
l***@163.com (作者)
是的,删掉4.1.2就好了
2023-10-07 20:47