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

Extracting AAR Resources failed

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
16
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the build for //src/main:template_app with --sandbox_debug and --verbose_failures, then inspect the aar_resources_extractor failure and the missing pyenv Python 3.7.0 reported in the output. Done means the AAR resource targets and template_app build complete successfully without these errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, python
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.