Android AOSP Automotive Emulator

99封情书 提交于 2019-12-08 05:00:32

问题


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?


回答1:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!