ninja: build stopped: subcommand failed. 18:40:10 soong failed with: exit status 1 - Android Q&A, Help & Troubleshooting

when i am compiling the rom with ./build/envsetup.sh && brunch kenzo after some time i am facing this issue "ninja: build stopped: sub command failed.
18:40:10 soong failed with: exit status 1".
what is that?how to avoid it?
please check my attachment.Any kind of help will be highly appreciated.Thanks !!

Related

[HELP] Error in 'make otapackage'

after i type make otapackage, after some time i get this error message and build stops. every time same error.
[ 69% 21776/31360] build out/target/product/hikari/gen/EXECUTABLES/iw_intermediates/version.c
FAILED: /bin/bash -c "external/iw/version.sh out/target/product/hikari/gen/EXECUTABLES/iw_intermediates/version.c"
fatal: No names found, cannot describe anything.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (05:33:08 (hh:mm:ss)) ####
Click to expand...
Click to collapse
can anyone help?
Are you trying to make AOSP otapackage
Ashwinrg said:
Are you trying to make AOSP otapackage
Click to expand...
Click to collapse
yeah, AOSP. any solution? i'm still struck

Ninja error while building Lineage OS

I get this error when I try to build Lineage OS:
[ 99% 955/956] glob test/vts/utils/Android.bp
ninja: error: 'cm-api-stubs-docs', needed by '/home/lennertf/android/lineage/out/target/common/obj/PACKAGING/cm_public_api.txt', missing and no known rule to make it
05:33:41 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
Does someone knows a solution?

help me, i Have trouble compiling Oreo AOSP

i downloaded aosp oreo source but when compile the source after compile 89% have a problem:
ninja: build stopped: subcommand failed.
11:22:26 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
please help me to fix this error
my OS:Ubuntu 17.04
Sorry for my bad english

Build error??

This is the error when building RR oreo for ether (nextbit robin). I build a lot of ROM's for this device although this is the only one where I encounter this error. I don't see what is wrong since every other ROM is able to build with the same Audiopolicymanager.cpp.. Some help would be greatly appreciated
Code:
hardware/qcom/audio-caf/msm8994/policy_hal/AudioPolicyManager.cpp:2140:25: error: use of undeclared identifier 'AUDIO_CHANNEL_IN_5POINT1'; did you mean 'AUDIO_CHANNEL_OUT_5POINT1'?
if (AUDIO_CHANNEL_IN_5POINT1 == channelMask) {
^~~~~~~~~~~~~~~~~~~~~~~~
AUDIO_CHANNEL_OUT_5POINT1
system/media/audio/include/system/audio-base.h:187:5: note: 'AUDIO_CHANNEL_OUT_5POINT1' declared here
AUDIO_CHANNEL_OUT_5POINT1 = 63u, // (((((OUT_FRONT_LEFT | OUT_FRONT_RIGHT) | OUT_FRONT_CENTER) | OUT_LOW_FREQUENCY) | OUT_BACK_LEFT) | OUT_BACK_RIGHT)
^
5 warnings and 1 error generated.
[ 5% 4762/94543] target arm C++: liba...edia/libaudioprocessing/AudioMixer.cpp
ninja: build stopped: subcommand failed.
14:02:05 ninja failed with: exit status 1
#### failed to build some targets (19:36 (mm:ss)) ####
[email protected]:~/RR$

Build Android P aosp error

I am doing it according to the website.
https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/build-aosp-android-p-9-0-0
terminal picture
https://imgur.com/a/t08GNrC
[ 97% 86508/88632] //frameworks/base/libs/hwui:libhwui link libhwui.so
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 97% 86509/88632] //frameworks/base/libs/hwui:libhwui link libhwui.so [arm]
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
ninja: build stopped: subcommand failed.
20:00:42 ninja failed with: exit status 1
failed to build some targets (02:41:31 (hh:mm:ss))
Has anyone been able to figure this one out?
I even added "export LLVM_ENABLE_THREADS=1" to my .bashrc and nothing changed, still the same problem.
zagi988 said:
Has anyone been able to figure this one out?
I even added "export LLVM_ENABLE_THREADS=1" to my .bashrc and nothing changed, still the same problem.
Click to expand...
Click to collapse
Thanks, dude. "export LLVM_ENABLE_THREADS=1" works for me but not in the .bashrc
If it failed with same error, don't do anything and run "export LLVM_ENABLE_THREADS=1" then continue build the rom (type "make")
java.lang.OutOfMemory: Java heap space
I'm getting error while building Android 9
Exception in thread "main" Java.lang.OutOfMemory: Java heap space
ninja: build stopped: subcommand failed.
ninja failed with: exit status 1

Categories

Resources