I'm trying to build an Emulator for Automotive since Android studio 3.5 is not detecting the system image. I have tried in Android 8 and 9 and downloaded all the tools. How to build the automotive emulator in AOSP?
You will require Mac or Linux to build the emulator Perform the steps mentioned in the following site https://source.android.com/setup/build/initializing, then follow the steps mentioned in the following site https://source.android.com/setup/build/downloading, then execute the following commands
$ repo init -u https://android.googlesource.com/platform/manifest -b android-9.0.0_r39
$ source build/envsetup.sh
$ lunch car_emu_x86_64-userdebug
$ make -j8
$ emulator
for reference see the following question on SO Building Android Automotive from source.
来源:https://stackoverflow.com/questions/58057045/android-aosp-automotive-emulator