Alpine 上 android 的命令行构建失败

Commandline build for android on Alpine is failing

提问人:Manju Krishna 提问时间:10/30/2023 最后编辑:Manju Krishna 更新时间:10/30/2023 访问量:28

问:


NAME: "Alpine Linux"
ID: alpine
VERSION_ID : 3.18.4
PRETTY_NAME : "Alpine Linux v3.18"

Task :app:processReleaseResources FAILED
 
FAILURE: Build failed with an exception.
 
* What went wrong:
Execution failed for task ':app:processReleaseResources'.
 Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
 Failed to transform appcompat-1.4.2.aar (androidx.appcompat:appcompat:1.4.2) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
 Execution failed for AarResourcesCompilerTransform: /root/.gradle/caches/transforms-3/2dbf13ca339042497599c710c0bbe40c/transformed/appcompat-1.4.2.
AAPT2 aapt2-7.0.4-7396180-linux Daemon #1: Daemon startup failed
           This should not happen under normal circumstances, please file an issue if it does.

下载礼仪的防火墙和门禁被畅通无阻

Android 命令行 CentOS7 Alpine-Linux

评论

0赞 Sergei Kozelko 11/1/2023
欢迎来到 Stack Overflow!您可能还希望在 Android Gradle 插件组件的 Google 问题跟踪器中打开一个问题,因为错误消息请求

答: 暂无答案