I have not enabled Hyper V or hardware acceleration and don't want to either.
我没有启用Hyper V或硬件加速,也不愿意。
Is there any way that I can start android emulator for Intel x86 Atom Without hardware acceleration on Windows 8
在Windows 8上没有硬件加速的情况下,我可以为Intel x86 Atom启动android模拟器吗?
I have created AVDs with every combination possible and each one has failed to start the AVD emulator instance , throwing the same error when starting
我已经创建了所有可能组合的AVDs,并且每一个都没有启动AVD仿真器实例,在启动时抛出相同的错误。
emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX kernel module is not installed!
仿真器:错误:x86仿真目前需要硬件加速!请确保Intel HAXM的安装和使用正确。CPU加速状态:HAX内核模块没有安装!
OR is it that, the images given for Intel Atom 86 and 64 cannot run without HARDWARE ACCELERATION AND hyper V for API 21 and 19
或者,对于Intel Atom 86和64的图像,如果没有硬件加速和hyper V (API 21和19),就不能运行。
I have found lots of similar question and read almost all documentation, but it is not clear if they can or cannot run without hyper v and hardware acceleration, hence this direct question
我发现了很多类似的问题,几乎阅读了所有的文档,但是如果没有hyper v和硬件加速,它们是否能够运行,也不清楚,因此这是一个直接的问题。
How do you test on android in such cases ?
在这种情况下,你如何测试android ?
13 个解决方案
#1
113
In current AVD manager you can't. You just have the opportunity to use ARM images which will not need hardware virtualization.
在目前的AVD经理中,你不能。您只是有机会使用不需要硬件虚拟化的ARM映像。
To run ARM images:
运行部门图片:
- Open AVD manager.
- 开放的AVD管理器。
- Create a new 'Virtual Device' OR right click an existing image and select 'Duplicate'
- 创建一个新的“虚拟设备”或右键单击现有图像,并选择“Duplicate”
- Choose arm* instead of x86/x64.
- 选择arm*而不是x86/x64。
- Continue with the wizard.
- 继续该向导。
- Run!
- 快跑!
Although this is the available solution but still a slow one !!
虽然这是可行的解决方案,但仍然是一个缓慢的解决方案!!
#2
17
You can still force the use of the soft x86 emulator by running it from the command line and using the -no-accel option, i.e. from the SDK/tools directory:
您仍然可以通过从命令行运行它,并使用-no-accel选项(即从SDK/tools目录中)来强制使用软x86仿真程序。
emulator -avd AVD_NAME -memory 768 -no-accel -gpu on
BUT this still won't work with the current (V24) SDK, because the current x86 system images crash the soft x86 emulator :-(
但是这仍然不能与当前的(V24) SDK一起工作,因为当前的x86系统映像崩溃了软的x86模拟器:-(
The only way I got this working again was to downgrade the SDK tools to V22.3 from here: http://dl-ssl.google.com/android/repository/tools_r22.3-windows.zip and to buld an AVD using a downgraded system image, for instance https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86-17_r02.zip. (So this is no help if you need to test on more recent versions of Android).
我得到这个工作的唯一方法是将SDK工具降级为V22.3: http://dl- ssl.google.com/android/resttory/tools_r22.3 -window .zip,并使用降级的系统图像来创建一个AVD,例如https://dl- ssl.google.com/android/repository/sysimg/android/sysimg_x86 -17_r02.zip。(如果你需要对最新版本的Android进行测试,这是没有帮助的。)
Google have moved on to an updated version of their emulator based on a more recent version of qemu, and provide binaries for arm and mips emulators, but have omitted to ship the x86 equivalent (there is no emulator-ranchu-x86.exe and emulator64-ranchu-x86.exe). If they did so, or if someone else went to the trouble of setting up and compiling their emulator source with the "x86" flag on, then _x86 soft emulation could conceivably be made to work again.
谷歌基于最近的qemu版本,已经迁移到其仿真器的更新版本,并提供了arm和mips模拟器的二进制文件,但是忽略了与x86等效的版本(没有仿真程序-ranchu-x86)。exe和emulator64-ranchu-x86.exe)。如果他们这样做了,或者如果其他人遇到了设置并使用“x86”标志编译他们的仿真器源的麻烦,那么可以想象,可以让_x86软仿真再次运行。
#3
8
Short Answer: No. Until recently(about 1 month ago), you could do that but with the latest updates, it is not possible. (see Update to Android SDK Tools 23.0.5 and avd doesn't start).
简短的回答:没有。直到最近(大约1个月前),你可以这样做,但随着最新的更新,这是不可能的。(参见更新Android SDK工具23.0.5和avd不启动)。
I was doing something similar: Doing development in a virtual machine and hence couldn't use the Hardware acceleration features as they are available only in the host machine. I was using Intel x86 images with Use Host GPU option; as they were much faster than the ARM version even without hardware acceleration. But then, after this update, my emulator AVDs which were working earlier are no longer starting with the same exact error message. Also, both genymotion and Xamarin Android emulators can't be used as they also need hardware acceleration(they are actually VMs which use Hardware acceleration for speed, and hence can't be run inside another VM).
我做了类似的事情:在虚拟机中进行开发,因此不能使用硬件加速特性,因为它们只能在主机上使用。我使用的是Intel x86图像,使用的是主机GPU选项;因为即使没有硬件加速,它们也比ARM版本快得多。但是,在此更新之后,我的仿真器AVDs在之前的工作中不再使用相同的错误消息。而且,genymotion和Xamarin Android模拟器都不能被使用,因为它们也需要硬件加速(实际上它们是使用硬件加速的VM,因此不能在另一个VM里运行)。
I have found this solution but haven't tried it yet. The basic idea is that to still develop inside a VM; but for testing connect to an Emulator running on the host machine(and this Emulator VM can now use the hardware acceleration feature).
我找到了这个办法,但还没有试过。基本的想法是,在虚拟机中继续开发;但是为了测试连接到在主机上运行的模拟器(并且这个仿真器VM现在可以使用硬件加速特性)。
#4
8
Same issue as in Error in launching AVD:
在发布AVD时同样的问题:
1) Install the Intel x86 Emulator Accelerator (HAXM installer) from the Android SDK Manager;
1)从Android SDK管理器中安装Intel x86仿真器加速器(HAXM installer);
2) Run (for Windows):
2)运行(Windows):
{SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm.exe
or (for OSX):
或(OSX):
{SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager\IntelHAXM_1.1.1_for_10_9_and_above.dmg
3) Start the emulator.
3)启动模拟器。
#5
6
I've run into the same problem, I found the solution at http://developer.android.com/tools/devices/emulator.html#vm-windows
我遇到了同样的问题,我在http://developer.android.com/tools/devices/emulator.html#vm-windows找到了解决方案。
Just follow this simple steps:
只需遵循以下简单的步骤:
-
Start the Android SDK Manager, select Extras and then select
Intel Hardware Accelerated Execution Manager
.启动Android SDK管理器,选择附加组件,然后选择Intel硬件加速执行管理器。
-
After the download completes, run [sdk]/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe
下载完成后,运行[sdk]/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe。
-
Follow the on-screen instructions to complete installation.
按照屏幕上的指示完成安装。
#6
3
The usage of the Hardware acceleration depends on the System Image you choose on the emulator.
硬件加速的使用取决于您在模拟器上选择的系统映像。
So,
所以,
-
Go to AVD manager, create virtual device, select hardware, click next.
转到AVD管理器,创建虚拟设备,选择硬件,点击next。
-
Choose the System Image that does not require HAXM (hardware acceleration) for running. (That is appears at the right bottom of System image window.)
选择不需要HAXM(硬件加速)运行的系统映像。(它出现在系统图像窗口的右下角。)
Note: for other systems that require HAXM, there no way to run them without hardware acceleration.
注意:对于其他需要HAXM的系统,如果没有硬件加速,就无法运行它们。
#7
3
use bluestacks as a emulator for best performance. blusestack working fast without hardware based emulation
使用bluestacks作为最佳性能的模拟器。在没有基于硬件的仿真的情况下快速工作。
To connect bluestack to android studio.
将bluestack连接到android studio。
- Close Android Studio.
- 关闭安卓工作室。
- Go to adb.exe location.(Bydefault its C:\Users\Tarun\AppData\Local\Android\sdk\platform-tools)
- 去亚洲开发银行。exe位置。(Bydefault C:\Users\Tarun\AppData\Local\Android\sdk\平台工具)
- Run
adb connect localhost:5555
from this location. - 运行adb连接localhost:5555从这个位置。
- Start Android Studio and you will get Blue Stack as emulator when you run your app.
- 启动Android Studio,当你运行你的应用程序时,你会得到一个蓝色的堆栈作为模拟器。
#8
2
Is there any way that I can start android emulator for intel x86 atom Without hardware acceleration on windows 8
在windows 8上没有硬件加速的情况下,我可以为intel x86 atom启动android模拟器吗?
Not with the standard Android SDK emulator, as it requires Intel's HAXM, and HAXM wants virtualization extensions to be enabled.
不使用标准的Android SDK仿真器,因为它需要Intel的HAXM,而HAXM希望能够启用虚拟化扩展。
Whether Genymotion or something else from another independent developer can support your desired combination, I cannot say.
我不能说,Genymotion或其他独立开发人员是否可以支持你想要的组合。
#9
1
refer intel.com's requirements : Important: Intel HAXM cannot be used on systems without an Intel processor, or with an Intel processor that lacks the hardware features described in the "Hardware Requirements" section above.To determine the capabilities of your Intel processor
请参考intel.com的要求:重要的是:英特尔的HAXM不能在没有Intel处理器的系统上使用,也不能使用英特尔处理器,因为它缺乏上述“硬件需求”部分所描述的硬件特性。决定你的英特尔处理器的能力。
[Installation Instructions for Intel® Hardware Accelerated Execution Manager ] https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x
(安装说明英特尔®硬件加速执行经理]https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x
My PC does not support vt-x, I can not use android studio 1.0.2.
我的PC不支持vt-x,我不能使用android studio 1.0.2。
#10
1
yes is possible to run your android emulator without have a hardware accelerator. In fact to do that, you need to open your android virtual device. When you reached to system image configure, it suggest you which version of android image you want to use. Whatever version of android system image that you select,you need to make sure that,ABI is armeabi-v7a and, you target is System image ameabi-v7a with google APIs. And then complete the rest of task and check out your emulator.
是的,你可以运行你的android模拟器而不需要硬件加速器。事实上,你需要打开你的android虚拟设备。当您到达系统映像配置时,它建议您使用哪个版本的android映像。不管你选择哪个版本的android系统,你需要确保,ABI是armeabi-v7a,你的目标是使用谷歌api的系统映像ameabi-v7a。然后完成剩下的任务,检查你的模拟器。
#11
0
I have a pc with intel c2d without hardware accelaration i am having same problem in android studio. firstly i get bored with android studio and installed eclipse+sdk+adt then i have installed every thing and started emulator it worked then the same emulator worked in android studio for direct launching application in android studio and i have also runned the sample app that emulator so you can run android studio without virtualization technique even your processor does not sopport vt-x
我有一台带有英特尔c2d的pc,没有硬件设备,我在安卓工作室遇到了同样的问题。首先我感到无聊与android工作室和安装eclipse + sdk + adt然后我安装了每件事,开始模拟器然后同一android模拟器在工作室工作直接启动的应用程序在android工作室和我也拼命的示例应用程序,仿真器,这样你就可以运行android工作室没有虚拟化技术甚至你的处理器不sopport开始
#12
0
You need "VT-x supported processor" at least to run Android emulator with Hardware acceleration.
你需要“VT-x支持处理器”至少运行Android模拟器,硬件加速。
If you have enabled or installed "Hyper-V" in your windows 8 then please remove it and disable the "Hyper threading" and enable "Virtualization".
如果您在windows 8中启用或安装了“Hyper- v”,请删除它并禁用“超线程”并启用“虚拟化”。
#13
-1
When Run 'app' (green triangle): In Device Chooser select Launch emulator and click the button [...] Rigth click on Nexus (or other) click on Duplicate In the O.S. (Android 6.0 example) click change: Clic on Show downloadable system images. Look for armeabi-v7a O.S. and click download. Set this O.S. in the device. Finish, and choose this Device for the emulation.
运行“app”(绿色三角形):在设备选择器选择启动模拟器,点击按钮[…[参考译文]在操作系统(Android 6.0示例)中点击“链接”,点击“改变:显示可下载的系统图像”。找armeabi-v7a O.S.,然后点击下载。在设备上设置这个o.s。完成,并选择该设备进行仿真。
#1
113
In current AVD manager you can't. You just have the opportunity to use ARM images which will not need hardware virtualization.
在目前的AVD经理中,你不能。您只是有机会使用不需要硬件虚拟化的ARM映像。
To run ARM images:
运行部门图片:
- Open AVD manager.
- 开放的AVD管理器。
- Create a new 'Virtual Device' OR right click an existing image and select 'Duplicate'
- 创建一个新的“虚拟设备”或右键单击现有图像,并选择“Duplicate”
- Choose arm* instead of x86/x64.
- 选择arm*而不是x86/x64。
- Continue with the wizard.
- 继续该向导。
- Run!
- 快跑!
Although this is the available solution but still a slow one !!
虽然这是可行的解决方案,但仍然是一个缓慢的解决方案!!
#2
17
You can still force the use of the soft x86 emulator by running it from the command line and using the -no-accel option, i.e. from the SDK/tools directory:
您仍然可以通过从命令行运行它,并使用-no-accel选项(即从SDK/tools目录中)来强制使用软x86仿真程序。
emulator -avd AVD_NAME -memory 768 -no-accel -gpu on
BUT this still won't work with the current (V24) SDK, because the current x86 system images crash the soft x86 emulator :-(
但是这仍然不能与当前的(V24) SDK一起工作,因为当前的x86系统映像崩溃了软的x86模拟器:-(
The only way I got this working again was to downgrade the SDK tools to V22.3 from here: http://dl-ssl.google.com/android/repository/tools_r22.3-windows.zip and to buld an AVD using a downgraded system image, for instance https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86-17_r02.zip. (So this is no help if you need to test on more recent versions of Android).
我得到这个工作的唯一方法是将SDK工具降级为V22.3: http://dl- ssl.google.com/android/resttory/tools_r22.3 -window .zip,并使用降级的系统图像来创建一个AVD,例如https://dl- ssl.google.com/android/repository/sysimg/android/sysimg_x86 -17_r02.zip。(如果你需要对最新版本的Android进行测试,这是没有帮助的。)
Google have moved on to an updated version of their emulator based on a more recent version of qemu, and provide binaries for arm and mips emulators, but have omitted to ship the x86 equivalent (there is no emulator-ranchu-x86.exe and emulator64-ranchu-x86.exe). If they did so, or if someone else went to the trouble of setting up and compiling their emulator source with the "x86" flag on, then _x86 soft emulation could conceivably be made to work again.
谷歌基于最近的qemu版本,已经迁移到其仿真器的更新版本,并提供了arm和mips模拟器的二进制文件,但是忽略了与x86等效的版本(没有仿真程序-ranchu-x86)。exe和emulator64-ranchu-x86.exe)。如果他们这样做了,或者如果其他人遇到了设置并使用“x86”标志编译他们的仿真器源的麻烦,那么可以想象,可以让_x86软仿真再次运行。
#3
8
Short Answer: No. Until recently(about 1 month ago), you could do that but with the latest updates, it is not possible. (see Update to Android SDK Tools 23.0.5 and avd doesn't start).
简短的回答:没有。直到最近(大约1个月前),你可以这样做,但随着最新的更新,这是不可能的。(参见更新Android SDK工具23.0.5和avd不启动)。
I was doing something similar: Doing development in a virtual machine and hence couldn't use the Hardware acceleration features as they are available only in the host machine. I was using Intel x86 images with Use Host GPU option; as they were much faster than the ARM version even without hardware acceleration. But then, after this update, my emulator AVDs which were working earlier are no longer starting with the same exact error message. Also, both genymotion and Xamarin Android emulators can't be used as they also need hardware acceleration(they are actually VMs which use Hardware acceleration for speed, and hence can't be run inside another VM).
我做了类似的事情:在虚拟机中进行开发,因此不能使用硬件加速特性,因为它们只能在主机上使用。我使用的是Intel x86图像,使用的是主机GPU选项;因为即使没有硬件加速,它们也比ARM版本快得多。但是,在此更新之后,我的仿真器AVDs在之前的工作中不再使用相同的错误消息。而且,genymotion和Xamarin Android模拟器都不能被使用,因为它们也需要硬件加速(实际上它们是使用硬件加速的VM,因此不能在另一个VM里运行)。
I have found this solution but haven't tried it yet. The basic idea is that to still develop inside a VM; but for testing connect to an Emulator running on the host machine(and this Emulator VM can now use the hardware acceleration feature).
我找到了这个办法,但还没有试过。基本的想法是,在虚拟机中继续开发;但是为了测试连接到在主机上运行的模拟器(并且这个仿真器VM现在可以使用硬件加速特性)。
#4
8
Same issue as in Error in launching AVD:
在发布AVD时同样的问题:
1) Install the Intel x86 Emulator Accelerator (HAXM installer) from the Android SDK Manager;
1)从Android SDK管理器中安装Intel x86仿真器加速器(HAXM installer);
2) Run (for Windows):
2)运行(Windows):
{SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm.exe
or (for OSX):
或(OSX):
{SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager\IntelHAXM_1.1.1_for_10_9_and_above.dmg
3) Start the emulator.
3)启动模拟器。
#5
6
I've run into the same problem, I found the solution at http://developer.android.com/tools/devices/emulator.html#vm-windows
我遇到了同样的问题,我在http://developer.android.com/tools/devices/emulator.html#vm-windows找到了解决方案。
Just follow this simple steps:
只需遵循以下简单的步骤:
-
Start the Android SDK Manager, select Extras and then select
Intel Hardware Accelerated Execution Manager
.启动Android SDK管理器,选择附加组件,然后选择Intel硬件加速执行管理器。
-
After the download completes, run [sdk]/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe
下载完成后,运行[sdk]/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe。
-
Follow the on-screen instructions to complete installation.
按照屏幕上的指示完成安装。
#6
3
The usage of the Hardware acceleration depends on the System Image you choose on the emulator.
硬件加速的使用取决于您在模拟器上选择的系统映像。
So,
所以,
-
Go to AVD manager, create virtual device, select hardware, click next.
转到AVD管理器,创建虚拟设备,选择硬件,点击next。
-
Choose the System Image that does not require HAXM (hardware acceleration) for running. (That is appears at the right bottom of System image window.)
选择不需要HAXM(硬件加速)运行的系统映像。(它出现在系统图像窗口的右下角。)
Note: for other systems that require HAXM, there no way to run them without hardware acceleration.
注意:对于其他需要HAXM的系统,如果没有硬件加速,就无法运行它们。
#7
3
use bluestacks as a emulator for best performance. blusestack working fast without hardware based emulation
使用bluestacks作为最佳性能的模拟器。在没有基于硬件的仿真的情况下快速工作。
To connect bluestack to android studio.
将bluestack连接到android studio。
- Close Android Studio.
- 关闭安卓工作室。
- Go to adb.exe location.(Bydefault its C:\Users\Tarun\AppData\Local\Android\sdk\platform-tools)
- 去亚洲开发银行。exe位置。(Bydefault C:\Users\Tarun\AppData\Local\Android\sdk\平台工具)
- Run
adb connect localhost:5555
from this location. - 运行adb连接localhost:5555从这个位置。
- Start Android Studio and you will get Blue Stack as emulator when you run your app.
- 启动Android Studio,当你运行你的应用程序时,你会得到一个蓝色的堆栈作为模拟器。
#8
2
Is there any way that I can start android emulator for intel x86 atom Without hardware acceleration on windows 8
在windows 8上没有硬件加速的情况下,我可以为intel x86 atom启动android模拟器吗?
Not with the standard Android SDK emulator, as it requires Intel's HAXM, and HAXM wants virtualization extensions to be enabled.
不使用标准的Android SDK仿真器,因为它需要Intel的HAXM,而HAXM希望能够启用虚拟化扩展。
Whether Genymotion or something else from another independent developer can support your desired combination, I cannot say.
我不能说,Genymotion或其他独立开发人员是否可以支持你想要的组合。
#9
1
refer intel.com's requirements : Important: Intel HAXM cannot be used on systems without an Intel processor, or with an Intel processor that lacks the hardware features described in the "Hardware Requirements" section above.To determine the capabilities of your Intel processor
请参考intel.com的要求:重要的是:英特尔的HAXM不能在没有Intel处理器的系统上使用,也不能使用英特尔处理器,因为它缺乏上述“硬件需求”部分所描述的硬件特性。决定你的英特尔处理器的能力。
[Installation Instructions for Intel® Hardware Accelerated Execution Manager ] https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x
(安装说明英特尔®硬件加速执行经理]https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x
My PC does not support vt-x, I can not use android studio 1.0.2.
我的PC不支持vt-x,我不能使用android studio 1.0.2。
#10
1
yes is possible to run your android emulator without have a hardware accelerator. In fact to do that, you need to open your android virtual device. When you reached to system image configure, it suggest you which version of android image you want to use. Whatever version of android system image that you select,you need to make sure that,ABI is armeabi-v7a and, you target is System image ameabi-v7a with google APIs. And then complete the rest of task and check out your emulator.
是的,你可以运行你的android模拟器而不需要硬件加速器。事实上,你需要打开你的android虚拟设备。当您到达系统映像配置时,它建议您使用哪个版本的android映像。不管你选择哪个版本的android系统,你需要确保,ABI是armeabi-v7a,你的目标是使用谷歌api的系统映像ameabi-v7a。然后完成剩下的任务,检查你的模拟器。
#11
0
I have a pc with intel c2d without hardware accelaration i am having same problem in android studio. firstly i get bored with android studio and installed eclipse+sdk+adt then i have installed every thing and started emulator it worked then the same emulator worked in android studio for direct launching application in android studio and i have also runned the sample app that emulator so you can run android studio without virtualization technique even your processor does not sopport vt-x
我有一台带有英特尔c2d的pc,没有硬件设备,我在安卓工作室遇到了同样的问题。首先我感到无聊与android工作室和安装eclipse + sdk + adt然后我安装了每件事,开始模拟器然后同一android模拟器在工作室工作直接启动的应用程序在android工作室和我也拼命的示例应用程序,仿真器,这样你就可以运行android工作室没有虚拟化技术甚至你的处理器不sopport开始
#12
0
You need "VT-x supported processor" at least to run Android emulator with Hardware acceleration.
你需要“VT-x支持处理器”至少运行Android模拟器,硬件加速。
If you have enabled or installed "Hyper-V" in your windows 8 then please remove it and disable the "Hyper threading" and enable "Virtualization".
如果您在windows 8中启用或安装了“Hyper- v”,请删除它并禁用“超线程”并启用“虚拟化”。
#13
-1
When Run 'app' (green triangle): In Device Chooser select Launch emulator and click the button [...] Rigth click on Nexus (or other) click on Duplicate In the O.S. (Android 6.0 example) click change: Clic on Show downloadable system images. Look for armeabi-v7a O.S. and click download. Set this O.S. in the device. Finish, and choose this Device for the emulation.
运行“app”(绿色三角形):在设备选择器选择启动模拟器,点击按钮[…[参考译文]在操作系统(Android 6.0示例)中点击“链接”,点击“改变:显示可下载的系统图像”。找armeabi-v7a O.S.,然后点击下载。在设备上设置这个o.s。完成,并选择该设备进行仿真。