I am newbies to Android/Ubuntu platform. I have to build the Android Oreo 8.0 for i.MX6q in Ubuntu18.04.
Steps Followed :
All the necessary packages are installed for an Android build.
$ sudo apt-get install uuid uuid-dev
$ sudo apt-get install zlib1g-dev liblz-dev
$ sudo apt-get install liblzo2-2 liblzo2-dev
$ sudo apt-get install lzop
$ sudo apt-get install git-core curl
$ sudo apt-get install u-boot-tools
$ sudo apt-get install mtd-utils
$ sudo apt-get install android-tools-fsutils
$ sudo apt-get install openjdk-8-jdk
$ sudo apt-get install device-tree-compiler
$ sudo apt-get install gdisk
//Activity related to gitlab setting and repo sync all done then below action done
$ source build/envsetup.sh
$ lunch ather450-userdebug
$ make –j8
//In the First build, error below
"make: Entering directory '/home/dinesh/workspace/source/vendor/nxp-opensource/kernel_imx'
HOSTCC scripts/basic/fixdep
/bin/sh: 1: gcc: not found"
Resolved by the action sudo apt-get install gcc
In the subsequent(Second) Build, Error Log:
make[1]: Leaving directory '/home/dinesh/workspace/source/out/target/product/ather450/obj/KERNEL_OBJ'
make: Leaving directory '/home/dinesh/workspace/source/vendor/nxp-opensource/kernel_imx'
ninja: build stopped: subcommand failed.
01:25:27 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
Kindly share the suggestion and help me.
Hi Dinesha,
How did you fix the final error . I have a similar error now and it would be helpful if you could update me about the changes you made to solve the error .
Thank You .
Regards,
Ketki K.
If you are using NXP board, you can following our user guide.
I see you are using the lunch ather450-userdebug, which board are you using?