本文介绍了Android AOSP汽车仿真器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于Android Studio 3.5未检测到系统映像,因此我正在尝试构建汽车仿真器.我已经尝试在Android 8和9中下载了所有工具.如何在AOSP中构建汽车仿真器?

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?

推荐答案

您将需要Mac或Linux来构建仿真器执行以下网站中提到的步骤 https://source.android.com/setup/build/初始化,然后按照以下网站中提到的步骤 https://source.android .com/setup/build/downloading ,然后执行以下命令

You will require Mac or Linux to build the emulatorPerform 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

供参考,请参见SO 从源代码构建Android Automotive 中的以下问题.

for reference see the following question on SO Building Android Automotive from source.

这篇关于Android AOSP汽车仿真器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 01:06
查看更多