jaredsburrows / jaredsburrows/android-bazel-java-app-template

Extracting AAR Resources failed

未关闭
#21 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Java
星标
16
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

I'm getting this error while trying to run the project
```
INFO: Analyzed target //src/main:template_app (0 packages loaded, 0 targets configured).
ERROR: /private/var/tmp/_bazel_christdoes/da056a56f45eca9a834f638cf60b7411/external/maven/BUILD:997:11: Extracting AAR Resources for @@maven//:com_google_android_gms_play_services_ads_lite failed: (Exit 1): aar_resources_extractor failed: error executing AarResourcesExtractor command (from target @@maven//:com_google_android_gms_play_services_ads_lite) bazel-out/darwin_x86_64-opt-exec-ST-13d3ddad9198/bin/external/bazel_tools/tools/android/aar_resources_extractor --input_aar ... (remaining 9 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
pyenv: version `3.7.0' is not installed (set by /Users/christdoes/.pyenv/version)
ERROR: /private/var/tmp/_bazel_christdoes/da056a56f45eca9a834f638cf60b7411/external/maven/BUILD:889:11: Extracting AAR Resources for @@maven//:com_android_support_support_core_ui failed: (Exit 1): aar_resources_extractor failed: error executing AarResourcesExtractor command (from target @@maven//:com_android_support_support_core_ui) bazel-out/darwin_x86_64-opt-exec-ST-13d3ddad9198/bin/external/bazel_tools/tools/android/aar_resources_extractor --input_aar ... (remaining 9 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
pyenv: version `3.7.0' is not installed (set by /Users/christdoes/.pyenv/version)
Target //src/main:template_app failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.545s, Critical Path: 0.36s
INFO: 6 processes: 6 internal.
ERROR: Build did NOT complete successfully

```

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

使用 --sandbox_debug 和 --verbose_failures 重现 //src/main:template_app 的构建,然后检查 aar_resources_extractor 失败以及输出中报告的缺少 pyenv Python 3.7.0 的问题。AAR 资源目标和 template_app 构建在没有这些错误的情况下成功完成,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, java, python
领域
build-system, mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。