简体   繁体   English

在Mac上使用android studio创建虚拟设备时出错

[英]Error creating virtual device using android studio on Mac

I have this error after creating new android virtual device on mac using android studio : 使用android studio在Mac上创建新的android虚拟设备后出现此错误:

Name: Nexus_4_API_21

CPU/ABI: Google APIs Intel Atom (x86)

Path: /Users/Nicolas/.android/avd/Nexus_4_API_21.avd

Error: Unknown target 'Google Inc.:Google APIs:21' in /Users/Nicolas/.android/avd/Nexus_4_API_21.ini 错误:/Users/Nicolas/.android/avd/Nexus_4_API_21.ini中的未知目标“ Google Inc.:Google APIs:21”

I checked the path on error and it is in the folder. 我检查了错误的路径,它位于文件夹中。

You must have selected a faulty or incomplete (without Google APIs) System Image when creating the AVD. 创建AVD时,您必须选择了错误的或不完整的System Image (没有Google API)。 Delete this one and create a new one. 删除此一个并创建一个新的。 When selecting the system image make sure you do not the the following message (in red) on the right side of the system image list where you select one. 选择系统映像时,请确保没有在系统映像列表的右侧选择以下内容(红色)。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM