i am building android 9 for imx6s5dvm10ab but its throwing error while executing the make command. here i attached the build-log.txt file. please go through build-log file and provide med proper solution.
source ~/imx-p9.0.0_2.2.0-ga/imx_android_setup.sh
export MY_ANDROID=~/android_build
source build/envsetup.sh
lunch sabresd_6dq-userdebug
make 2>&1 | tee build-log.txt
the above command i executed and i using ubuntu 22 version
HI @vijay1251!
Thank you for contacting NXP Support!
To build the Android source files, use a computer running the Linux OS. The Ubuntu 16.04 64-bit version and openjdk-8-jdk is the most tested environment for the Android Pie 9.0 build.
After installing the computer running Linux OS, check whether all the necessary packages are installed for an Android build. See "Setting up your machine" on the Android website source.android.com/source/initializing.html.
In addition to the packages requested on the Android website, the following packages are also needed:
$ 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
$ sudo apt-get install m4
$ sudo apt-get install libz-dev
If you have trouble installing the JDK in Ubuntu, see How to install misc JDK in Ubuntu for Android build.
Configure git before use. Set the name and email as follows:
• git config --global user.name "First Last"
• git config --global user.email "first.last@company.com"