简体   繁体   English

Android Studio,创建新的虚拟设备:错误消息:“未安装模拟器”

[英]Android Studio, Creating a new virtual device: Error message: “No emulator installed”

I am running Android Studio 2.2.2 on Windows 10. I am trying to create a new virtual device. 我正在Windows 10上运行Android Studio 2.2.2。我正在尝试创建新的虚拟设备。 From within the "Select System Image" panel, I get the error message: "No emulator installed" 从“选择系统映像”面板中,收到错误消息:“未安装模拟器”

No matter what image I select (Marshmallow, Lollipop, etc.), I get a "recommendation" in red font: No emulator installed. 无论选择什么图像(棉花糖,棒棒糖等),我都会得到红色字体的“推荐”:没有安装模拟器。

I click on the text that says "Install Emulator", but nothing happens. 我单击显示“安装仿真器”的文本,但没有任何反应。

Under "Select a system image", for each of the release names (Marshmallow, Lollipop, etc.), there was previously an option to download, and I went through that without any apparent error, but I still get the recommendation message that no emulator is installed. 在“选择系统映像”下,对于每个发行版名称(棉花糖,棒棒糖等),以前都有一个下载选项,我经历了此下载,没有任何明显的错误,但是我仍然收到建议消息,提示没有模拟器已安装。 (I thought perhaps by selecting download, I was installing an emulator.) (我认为也许通过选择下载,我正在安装模拟器。)

The problem persists even if I close and re-start Android Studio. 即使关闭并重新启动Android Studio,问题仍然存在。

My problem could be similar to the problem reported here: No emulator installed - Android Studio In the above link, the person reports getting the "No emulator installed" message even after installing an emulator. 我的问题可能与这里报告的问题类似:未安装模拟器-Android Studio在上面的链接中,该人报告即使安装了模拟器也得到了“未安装模拟器”消息。 But no solution was reported. 但是没有解决方案的报道。

I am very new to Android Studio, so thanks in advance for any help you can give. 我是Android Studio的新手,所以在此先感谢您提供的任何帮助。

Here is a link to the screenshot with my problem: [Screenshot of Android 2.2.2 panel with "no emulator installed" message 1 这是我的问题的屏幕截图的链接:[带有“未安装模拟器”的Android 2.2.2面板的屏幕快照消息1

for windows got to -> turn windows features on and of if Hyper-v is selected , then deselect it and restart your pc. 对于Windows,请打开->打开Windows功能,如果已选择Hyper-v,则取消选择它并重新启动PC。

  1. then open android studio->sdk manager -> sdk Tools and download Anroid Emulator 然后打开android studio-> sdk管理器-> sdk工具并下载Anroid Emulator

it should work. 它应该工作。

if not then 如果没有

  1. go to your sdk folder where you have installed it. 转到安装它的sdk文件夹。 then extras->intel->Hardware_Accelerated_Execution_Manager->intelhaxm-android 然后Extras-> intel-> Hardware_Accelerated_Execution_Manager-> intelhaxm-android

install it if not and pray for it to the almighty :) 如果没有安装,并为全能祈祷:)

I also faced this problem three days ago. 我三天前也遇到了这个问题。 I just did these things: 我只是做了这些事情:

  1. Delete the folder of emulator and system image from the location where your android studio is installed. 从安装android studio的位置删除模拟器和系统映像的文件夹

  2. Open the Android Studio, delete virtual device if you have created it earlier. 打开Android Studio,如果您之前已创建虚拟设备,则将其删除

  3. Again make a virtual device and reinstall emulator . 再次制作一个虚拟设备并重新安装模拟器

It take some time but have patience, in my case it worked well. 这需要一些时间,但要有耐心,就我而言,效果很好。

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

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