Android Studio中没有适用于汽车的系统映像

问题描述

当我尝试创建AVD时->汽车-> Polestar 2->单击下一个提示后,“没有可用的系统映像...。”

我会尽一切可能修复它,但没有任何改善。

在SDK更新套件中,我添加了以下附加组件:

名称 Polestar 2系统映像

URL: https://developer.polestar.com/sdk/polestar2-sys-img.xml

名称 Android Automotive System Images

URL: https://dl.google.com/android/repository/sys-img/android-automotive/sys-img2-1.xml

添加它们之后,我选择了SDK平台中的polestar 2,Automotive intel ...(可以在查看显示软件包详细信息后可以看到它们)。

请帮助解决该问题。

注意:对于其他平台(电话/平板电脑,穿戴式操作系统等),仿真器可以正常工作。仅对于汽车,它们不起作用。

解决方法

您需要安装最新的Android Studio Canary 4.2。它可以与当前的稳定版本一起使用。在稳定版本上,它对我不起作用。 我使用的版本:https://androidstudio.googleblog.com/2020/08/android-studio-42-canary-8-available.html

,

请在“平板电脑”定义中找到“Polestar 2”设备,而不是“汽车”。见下图。或者您可以在上方的搜索框中搜索。

enter image description here