I downloaded Android 10 source code and tried to build it for imx8m-evk
Here is my command list for building.
source build/envsetup.sh
lunch evk_8mq-userdebug
make -j32 2>&1 | tee build-log.txt
But build failed.
Starting ninja...
FAILED: ninja: 'out/target/product/evk_8mq/obj/KERNEL_OBJ/arch/arm64/boot/Image', needed by 'out/target/product/evk_8mq/kernel', missing and no known rule to make it
15:21:47 ninja failed with: exit status 1
Hi Louis Lee,
Steps have been little changed for latest android version. Please follow below document to build the image:
https://www.nxp.com/docs/en/supporting-information/android_Q10.0.0_1.0.0_docs.zip
Instead of make -j32 2>&1 | tee build-log.txt, use:
./imx-make.sh -j4 2>&1 | tee build-log.txt
Regards,
Karan Gajjar
did you download source code successfully before build as below?
$ source ~/imx-android-10.0.0_1.0.0/imx_android_setup.sh
$ export MY_ANDROID=~/android_build
Hi Joan Xie,
I can't download source android 10.
It shows: error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
I rebuilt the Git, but it doesn't work