我得到这个错误"你的cpu不支持vt-x或svm, android studio 2.1.1在AMD 6300处理器"

时间:2021-01-16 00:24:52

I have enabled the virtualization in bios setup but when i try to launch the emulator i am getting the error "your cpu doesn't support vt-x or svm"

我已经在bios设置中启用了虚拟化,但是当我尝试启动模拟器时,我得到的错误是“你的cpu不支持vt-x或svm”

I have installed Intel haxm too.

我也安装了Intel haxm。

3 个解决方案

#1


7  

The VT-x technology as well as the HAXM are unique to Intel processors. In the case of AMD processors, AMD-V is the counterpart in the virtualization tech front. Installation of HAXM in an AMD processor will not have any impact and hence the error "your cpu doesn't support vt-x or svm".

VT-x技术和HAXM是英特尔处理器特有的。在AMD处理器的例子中,AMD- v是虚拟化技术前沿的对手。在AMD处理器中安装HAXM不会产生任何影响,因此错误“您的cpu不支持vt-x或svm”。

Reference link: http://tools.android.com/tech-docs/emulator

参考链接:http://tools.android.com/tech-docs/emulator

As stated in the link above

如上文所述。

For best performance with Android Emulator 2.0, your system should meet the following specifications: Windows: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality. AMD and Intel Atom processors do not support VT-x virtual machine acceleration. Linux: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality or AMD processors with support for AMD Virtualization™ (AMD-V™) 64-bit Operating Systems.

为了更好地使用Android模拟器2.0,您的系统应该满足以下几个规格:Windows:英特尔(Intel)的处理器,支持英特尔(Intel)的VT-x、英特尔(Intel)的EM64T (Intel 64),以及执行Disable (XD)位功能。AMD和英特尔Atom处理器不支持VT-x虚拟机加速。Linux:英特尔®处理器支持英特尔®开始,英特尔®EM64T(Intel®64),并执行禁用(XD)一些功能或AMD处理器支持AMD虚拟化™的vt - x(™)64位操作系统。

I would suggest to use an ARM image for the emulator instead of an Intel image. This would not require the use of HAXM nor VT-x.

我建议在模拟器上使用ARM图像,而不是英特尔的图像。这将不需要使用HAXM或VT-x。

#2


0  

I've been trying to track this down myself for a while (very similar setup, but Windows 10), and haven't seen anyone offering a solution beyond "You know HAXM's just for Intel, right?" either. The best info I've found so far is that the "Individual" edition of Genymotion (free for personal use) seems to be the best bet for emulation on AMD chips, and, almost hidden, a mention in the official docs that suggests Android Studio only works with SVM on Linux. I'm not even sure I'm reading the latter right, given the complete lack of references elsewhere to what should be an important fact, but it could be why that error is showing up – though if that's the case, it's definitely poorly worded.

我已经试着自己记录下这段时间了(非常类似的设置,但是Windows 10),并且还没有看到任何人提供一个解决方案,除了“你知道HAXM只是针对Intel的,对吗?”到目前为止,我发现的最好的信息是“个人”版本的Genymotion(免费供个人使用)似乎是对AMD芯片进行仿真的最佳选择,而且几乎是隐藏的,在官方文档中提到Android Studio只在Linux上使用SVM。我甚至不确定我读的是后一种权利,因为在其他地方完全缺乏对一个重要事实的参考,但这可能就是为什么这个错误出现的原因——尽管如果是这样的话,那肯定是用词不当了。

#3


-2  

If your processor is AMD, it will not work better to use the emulator of genymotion or nox app player.

如果你的处理器是AMD,使用genymotion或nox应用程序播放器的模拟器将不会更好。

this video may help you.

这段视频可能会对你有所帮助。

https://www.youtube.com/watch?v=qKFFjFE8U8E&t=365s

https://www.youtube.com/watch?v=qKFFjFE8U8E&t=365s

and if you use ARM image it will take to much time.

如果你使用ARM图像,它会花费很多时间。

#1


7  

The VT-x technology as well as the HAXM are unique to Intel processors. In the case of AMD processors, AMD-V is the counterpart in the virtualization tech front. Installation of HAXM in an AMD processor will not have any impact and hence the error "your cpu doesn't support vt-x or svm".

VT-x技术和HAXM是英特尔处理器特有的。在AMD处理器的例子中,AMD- v是虚拟化技术前沿的对手。在AMD处理器中安装HAXM不会产生任何影响,因此错误“您的cpu不支持vt-x或svm”。

Reference link: http://tools.android.com/tech-docs/emulator

参考链接:http://tools.android.com/tech-docs/emulator

As stated in the link above

如上文所述。

For best performance with Android Emulator 2.0, your system should meet the following specifications: Windows: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality. AMD and Intel Atom processors do not support VT-x virtual machine acceleration. Linux: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality or AMD processors with support for AMD Virtualization™ (AMD-V™) 64-bit Operating Systems.

为了更好地使用Android模拟器2.0,您的系统应该满足以下几个规格:Windows:英特尔(Intel)的处理器,支持英特尔(Intel)的VT-x、英特尔(Intel)的EM64T (Intel 64),以及执行Disable (XD)位功能。AMD和英特尔Atom处理器不支持VT-x虚拟机加速。Linux:英特尔®处理器支持英特尔®开始,英特尔®EM64T(Intel®64),并执行禁用(XD)一些功能或AMD处理器支持AMD虚拟化™的vt - x(™)64位操作系统。

I would suggest to use an ARM image for the emulator instead of an Intel image. This would not require the use of HAXM nor VT-x.

我建议在模拟器上使用ARM图像,而不是英特尔的图像。这将不需要使用HAXM或VT-x。

#2


0  

I've been trying to track this down myself for a while (very similar setup, but Windows 10), and haven't seen anyone offering a solution beyond "You know HAXM's just for Intel, right?" either. The best info I've found so far is that the "Individual" edition of Genymotion (free for personal use) seems to be the best bet for emulation on AMD chips, and, almost hidden, a mention in the official docs that suggests Android Studio only works with SVM on Linux. I'm not even sure I'm reading the latter right, given the complete lack of references elsewhere to what should be an important fact, but it could be why that error is showing up – though if that's the case, it's definitely poorly worded.

我已经试着自己记录下这段时间了(非常类似的设置,但是Windows 10),并且还没有看到任何人提供一个解决方案,除了“你知道HAXM只是针对Intel的,对吗?”到目前为止,我发现的最好的信息是“个人”版本的Genymotion(免费供个人使用)似乎是对AMD芯片进行仿真的最佳选择,而且几乎是隐藏的,在官方文档中提到Android Studio只在Linux上使用SVM。我甚至不确定我读的是后一种权利,因为在其他地方完全缺乏对一个重要事实的参考,但这可能就是为什么这个错误出现的原因——尽管如果是这样的话,那肯定是用词不当了。

#3


-2  

If your processor is AMD, it will not work better to use the emulator of genymotion or nox app player.

如果你的处理器是AMD,使用genymotion或nox应用程序播放器的模拟器将不会更好。

this video may help you.

这段视频可能会对你有所帮助。

https://www.youtube.com/watch?v=qKFFjFE8U8E&t=365s

https://www.youtube.com/watch?v=qKFFjFE8U8E&t=365s

and if you use ARM image it will take to much time.

如果你使用ARM图像,它会花费很多时间。