[HELP] Error in 'make otapackage' - Android Q&A, Help & Troubleshooting

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

Related

Help Build Lineageos for Xiaomi Redmi Pro

Can someone please help me?
I'm having trouble while to compile my build.
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/system.prop', needed by '/home/neverson/android/system/out/target/product/omega/obj/ETC/system_build_prop_intermediates/build.prop', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/neverson/android/system'
What this error means and how can I fix it? Just for the context I have system.prop file. And I also tried disable ninja using export USE_NINJA=false. but the error remains.
You device tree?
thinhx2 said:
You device tree?
Click to expand...
Click to collapse
Here is my device tree
https://drive.google.com/open?id=0B0M07vEulBG8eGE3c2hUaUVhcTA
Dersaun said:
Here is my device tree
https://drive.google.com/open?id=0B0M07vEulBG8eGE3c2hUaUVhcTA
Click to expand...
Click to collapse
You can upload to github.
Hi,
Here is my device tree in github
https://github.com/Dersaun/android_device_Xiaomi_omega
your device tree is not complete
Dersaun said:
Can someone please help me?
I'm having trouble while to compile my build.
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/system.prop', needed by '/home/neverson/android/system/out/target/product/omega/obj/ETC/system_build_prop_intermediates/build.prop', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/neverson/android/system'
What this error means and how can I fix it? Just for the context I have system.prop file. And I also tried disable ninja using export USE_NINJA=false. but the error remains.
Click to expand...
Click to collapse
Hi sir did u fix this error can u tell me how u fixed this error

Building LineageOS for an Unsupported Devices

I am trying to build recovery and Lineage 14.1 for my Samsung A5 2015 (A520W). I know that I need the vendor files, kernel and device tree.
Im currently trying to get the vendor files off my device using the mkvendor.sh file but in LineageOS 14.1 I cannot find this file. From what I understand I need to run
make -j4 otatools
to get this file but I get an error
ninja: error: unknown target 'otatools', did you mean 'obbtool'?
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (02:34 (mm:ss)) ####
Click to expand...
Click to collapse
*bump*

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?

How to fix this error

Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/roybabu/aospex/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack', needed by '/home/ro
ybabu/aospex/out/target/common/obj/APPS/MotoDoze_intermediates/with-local/classes.dex', missing and no known rule to make it
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
Roybabu said:
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/roybabu/aospex/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack', needed by '/home/ro
ybabu/aospex/out/target/common/obj/APPS/MotoDoze_intermediates/with-local/classes.dex', missing and no known rule to make it
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
Click to expand...
Click to collapse
I have the same problem. Could you fix it?

Ninja Error While Building ROM

I am trying to build a ROM for a new device, as soon as i go for brunch command it gives me following error -
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'librecovery_updater_mofd', needed by '/home/rahul/android/system/out/target/product/Z00XS/obj/EXECUTABLES/recovery_intermediates/adb_install.o', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/rahul/android/system'
Click to expand...
Click to collapse

Categories

Resources