我正在嘗試使用 Gradle 組裝一個 Kotlin 專案,但我遇到了這種錯誤:
Execution failed for task ':app:processProDebugResources'.
> Could not resolve all files for configuration ':app:ProDebugRuntimeClasspath'.
> Failed to transform misnapworkflow_UX2-release.aar to match attributes {artifactType=android-compiled-dependencies-resources}.
> Execution failed for AarResourcesCompilerTransform: /gradle/conf/caches/transforms-3/dad12f3b940e882b6d90ca007996f37e/transformed/jetified-misnapworkflow_UX2-release.
> AAPT2 aapt2-7.0.4-7396180-linux Daemon #0: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
但我不明白為什么它會失敗。
uj5u.com熱心網友回復:
最后,我使用的基礎 Docker 鏡像是一個 Alpine,在更改它之后執行成功。大概是少了點什么吧。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/478350.html
標籤:安卓 毕业典礼 android-gradle-插件 集合
上一篇:已禁用shadowJar和reobfShadowJar任務的執行優化
下一篇:Twitter資料情感分析
