Android Automotive import custom application

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android Automotive import custom application

140 Views
giampietroghizz
Contributor II

hello everyone,

following the instructions in this guide:

https://www.nxp.com/docs/en/user-guide/Android_Auto_User's_Guide.pdf
which is updated to January 4, 2024.

I managed to make a build of Android Automotive 13. (The source file is "imx-automotive-13.0.0_2.3.0.tar.bz2")

I have at my disposal an i.Mx 8QuadXPlus MEK demo board. i programmed this board using the build i made using the UUU tool. The board starts correctly and I can access aaos.


With android studio I created a simple application that displays a text box. Now I want to import this application into aaos and do the build directly in aaos and not in android studio.
I created a folder with the name of the application in /android_buils/packages/apps/Car , in this folder I copied the folders “res”, “src” and the file AndroidManifest.xml taken from the project in android studio. I modified the Android.bp so that I have the right dependencies.

Then I launch the build:
source build/envsetup.sh
lunch mek_8q_car-userdebug
./imx-make.sh -j4 2>&1

however, I get this error :

giampietroghizz_0-1718088173669.png

can anyone help me?

at the moment, I need to do the build directly from aaos, and not import an apk.

thanks

 

 

 

0 Kudos
Reply
1 Reply

118 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @giampietroghizz 

You can try to put source code in vendor/nxp-opensource/fsl_imx_demo/

0 Kudos
Reply