windows create_system failed

Open
#419 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 6 days

Nobody has claimed this yet.

Assessment

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

Research direction

The failure points to external/rules_android~/tools/jdk/BUILD at line 73 and the create_system.exe target; start there and rerun with --verbose_failures to capture the full command. Trace why the Windows command cannot find create_system, with success defined as //app/src/main:app building successfully.

Written by the indexing model from the issue text.

Description

INFO: Analyzed target //app/src/main:app (335 packages loaded, 19969 targets configured). ERROR: C:/users/rock.lin/_bazel_rock.lin/be4btbku/external/rules_android~/tools/jdk/BUILD:73:15: CreateSystem external/rules_android~/tools/jdk/bootclasspath_android_only_system failed: (Exit 127): create_system.exe failed: error executing CreateSystem command (from target @@rules_android~//tools/jdk:bootclasspath_android_only) bazel-out\x64_windows-opt-exec-ST-d57f47055a04\bin\external\rules_android~\tools\jdk\create_system.exe --input ... (remaining 9 arguments skipped) /bin/bash: line 1: C:/users/rock.lin/_bazel_rock.lin/be4btbku/execroot/_main/bazel-out/x64_windows-opt-exec-ST-d57f47055a04/bin/external/rules_android~/tools/jdk/create_system: No such file or directory Target //app/src/main:app failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 140.096s, Critical Path: 127.46s INFO: 90 processes: 5 internal, 85 local. ERROR: Build did NOT complete successfully

Dominant language
Java
Stars
205
Forks
113
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bazelbuild/rules_android

All issues in bazelbuild/rules_android

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.