ninja: build stopped: subcommand failed.

513 views
Skip to first unread message

George Wang

unread,
Apr 7, 2021, 2:02:50 PM4/7/21
to Android Building
When I building AOSP with "m" ,it reported an error:

[100% 239/239] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
cd "$(dirname "out/soong/.bootstrap/bin/soong_build")" && BUILDER="$PWD/$(basename "out/soong/.bootstrap/bin/soong_build")" && cd / && env -i "$BUILDER"     -t -l out/.module_paths/Android.bp.list     --top "$TOP"     --out "$SOONG_OUTDIR"     --delve_listen "$SOONG_DELVE"     --delve_path "$SOONG_DELVE_PATH"     -b "out/soong"     -n "out"     -d "out/soong/build.ninja.d"     -globFile "out/soong/.bootstrap/build-globs.ninja"     -o "out/soong/build.ninja"     "Android.bp" 
Killed
12:13:04 soong bootstrap failed with: exit status 1
ninja: build stopped: subcommand failed.

#### failed to build some targets (03:07 (mm:ss)) ####

无1标题.png

Could you tell me how to solve this problem? Thank you!

Arpit Kumar

unread,
Mar 27, 2023, 11:37:17 AM3/27/23
to Android Building
Hello Sir, did you get this error resolved? I'm using macbook bro with m1 chip. got the same error
Reply all
Reply to author
Forward
0 new messages