Android newbie. My processor is AMD, not Intel, so I can't open the emulator in Android studio.
Android新手。我的处理器是AMD,而不是英特尔,所以我无法在Android工作室中打开模拟器。
This answer has the comment: 'You can run the ARM (non Intel) emulator image. From your list, just choose a non Intel emulation.' They don't explain where this can be found. Any ideas? Thanks
这个答案有评论:'你可以运行ARM(非英特尔)模拟器映像。从您的列表中,只需选择非英特尔仿真即可。他们没有解释这可以找到的地方。有任何想法吗?谢谢
Android Studio emulator and AMD CPU
Android Studio模拟器和AMD CPU
8 个解决方案
#1
28
Alright, first of all, open your Android SDK Manager: Tools -> Android -> SDK Manager, then chose any platform/package you want to download, expand it and select ARM EABI v7a System Image
or ARM 64 v8a System Image
then install.
好吧,首先,打开您的Android SDK Manager:工具 - > Android - > SDK Manager,然后选择您要下载的任何平台/软件包,展开它并选择ARM EABI v7a System Image或ARM 64 v8a System Image然后安装。
After that, open Android AVD Manager: Tools -> Android -> AVD Manager and create an emulator. You may chose from existing or create your own.
之后,打开Android AVD Manager:工具 - > Android - > AVD Manager并创建一个模拟器。您可以选择现有的或创建自己的。
For better results, you may need to restart Android Studio.
为了获得更好的结果,您可能需要重新启动Android Studio。
#2
11
open Android AVD Manager: Tools -> Android -> AVD Manager and create an emulator:
打开Android AVD Manager:工具 - > Android - > AVD Manager并创建一个模拟器:
-Create Virtual Device
- 创建虚拟设备
-Choose any hardware
- 选择任何硬件
-Now in system image you need to click on the "Other Images" tab
- 现在在系统映像中,您需要单击“其他映像”选项卡
-Select an image to install. IMPORTANT: Notice that for AMD in the "ABI" column it has to say: ARM EABI v7a or ARM 64 v8a
- 选择要安装的映像。重要提示:请注意,对于AMD在“ABI”列中,它必须说:ARM EABI v7a或ARM 64 v8a
-Install it and restart Android Studio
- 安装它并重新启动Android Studio
This works for me.
这对我有用。
#3
7
I am using microsoft's Android emulator with Android Studio. I have an AMD FX8350. The ARM one in android studio is terribly slow.
我在Android Studio中使用microsoft的Android模拟器。我有AMD FX8350。 android studio中的ARM非常慢。
The only issue is that it requires Hyper-V which is not available on windows 10 Home.
唯一的问题是它需要在Windows 10 Home上不可用的Hyper-V。
Its a really quick emulator and it is free. The best emulator I have used.
它是一个非常快速的模拟器,它是免费的。我用过的最好的模拟器。
#4
1
On mine, I had to install ARM AEBI a7a System Image and Google APIs, and also installed MIPS which was only available for API 15, 16, and 17 (I didn't go below 15.) Took about 12 hours of tinkering, but it works now.
在我的,我必须安装ARM AEBI a7a系统映像和谷歌API,并且还安装了MIPS,它只适用于API 15,16和17(我没有低于15)。大约需要12个小时的修补,但是它现在有效。
alternatively, you can use Genymotion as an emulator, however will most likely lose design abilities otherwise available with included emulators.
或者,您可以使用Genymotion作为模拟器,但是很可能会失去其他模拟器可用的设计能力。
It works now. Pretty slow, but it works. Of course, once you have the emulator started, as long as you don't close it, it will be much faster.
它现在有效。很慢,但它的工作原理。当然,一旦你启动了模拟器,只要你不关闭它,它就会快得多。
You may need to restart Android studio, and I restarted my entire computer just for good measure.
您可能需要重新启动Android工作室,并且我重新启动了整台计算机。
Hope that helps.
希望有所帮助。
#5
1
The newest version of the Android emulator can be run with Hyper-V instead of Intel HAXM on the Windows 10 1804:
最新版本的Android模拟器可以在Windows 10 1804上使用Hyper-V而不是Intel HAXM运行:
https://blogs.msdn.microsoft.com/visualstudio/2018/05/08/hyper-v-android-emulator-support/
https://blogs.msdn.microsoft.com/visualstudio/2018/05/08/hyper-v-android-emulator-support/
Short version:
简洁版本:
- install Windows Hypervisor Platform feature
- 安装Windows Hypervisor平台功能
- Update to Android Emulator 27.2.7 or above
- 更新到Android Emulator 27.2.7或更高版本
- put WindowsHypervisorPlatform = on into C:\Users\.android\advancedFeatures.ini or start emulator or command line with -feature WindowsHypervisorPlatform
- 将WindowsHypervisorPlatform = on放入C:\ Users \ .android \ advancedFeatures.ini或使用-feature WindowsHypervisorPlatform启动模拟器或命令行
#6
0
The very first thing you need to do is download extras and tools package from SDK manager and other necessary packages like platform-25 and so on.. , after that open AVD manager and select any emulator you wan't, after that go to "other images" tab and select ARM AEBI a7a System Image and select finish and you are all done hope this would help you.
您需要做的第一件事是从SDK管理器和其他必要的软件包(例如platform-25等)下载附加软件和工具包,然后打开AVD管理器并选择您不想要的任何模拟器,之后转到“其他图像“选项卡并选择ARM AEBI a7a系统映像并选择完成,你们都希望这对你有所帮助。
#7
0
You've probably heard of Bluestacks, and actually you can run and debug your android apps on the Bluestacks emulator. I think this is the best solution to the slow Android Studios emulator speed. Also next time think about buying an Intel processor instead. Look here for more information: Connect Bluestacks to Android Studio
您可能听说过Bluestacks,实际上您可以在Bluestacks模拟器上运行和调试您的Android应用程序。我认为这是缓慢的Android Studios模拟器速度的最佳解决方案。下次还要考虑购买英特尔处理器。在此处查看更多信息:将Bluestacks连接到Android Studio
#8
0
I have a Ryzen 2600X and I am able to run the emulator without problems. Here are the tweaks I made:
我有一个Ryzen 2600X,我可以毫无问题地运行模拟器。以下是我做的调整:
*NOTE: You don't need the beta version of Android Studio or Android Emulator.
*注意:您不需要Android Studio或Android Emulator的测试版。
- Go to the MB bios and turn SVM on (CPU Virtualization).
- 转到MB BIOS并打开SVM(CPU虚拟化)。
- In Windows right click Windows Button => Select "Apps and Features" => "Programs and features" => "Turn Windows Features on and off"
- 在Windows中右键单击Windows按钮=>选择“应用程序和功能”=>“程序和功能”=>“打开和关闭Windows功能”
- In the displayed list select Hyper-V checkbox == Make sure the subfolders are all selected. When prompted to restart, restart the PC.
- 在显示的列表中选择Hyper-V复选框==确保选中子文件夹。提示重新启动时,重新启动PC。
- After restart and update instalation screen you are back in Windows and you should be able to run the Emulator.
- 重新启动并更新安装屏幕后,您将返回Windows,您应该可以运行模拟器。
**Note: I have selected x86_64 and plain x86 images(both API 28) from the x86 Images tab and they work just fine.
**注意:我从x86图像选项卡中选择了x86_64和普通x86图像(两者都是API 28),它们工作得很好。
***Note: Might also check for Android Licenses if errors pop up, I had an issue because of this while using Flutter, maybe it's related to that.
***注意:如果错误弹出,也可以检查Android许可证,我在使用Flutter时遇到了问题,可能与此有关。
#1
28
Alright, first of all, open your Android SDK Manager: Tools -> Android -> SDK Manager, then chose any platform/package you want to download, expand it and select ARM EABI v7a System Image
or ARM 64 v8a System Image
then install.
好吧,首先,打开您的Android SDK Manager:工具 - > Android - > SDK Manager,然后选择您要下载的任何平台/软件包,展开它并选择ARM EABI v7a System Image或ARM 64 v8a System Image然后安装。
After that, open Android AVD Manager: Tools -> Android -> AVD Manager and create an emulator. You may chose from existing or create your own.
之后,打开Android AVD Manager:工具 - > Android - > AVD Manager并创建一个模拟器。您可以选择现有的或创建自己的。
For better results, you may need to restart Android Studio.
为了获得更好的结果,您可能需要重新启动Android Studio。
#2
11
open Android AVD Manager: Tools -> Android -> AVD Manager and create an emulator:
打开Android AVD Manager:工具 - > Android - > AVD Manager并创建一个模拟器:
-Create Virtual Device
- 创建虚拟设备
-Choose any hardware
- 选择任何硬件
-Now in system image you need to click on the "Other Images" tab
- 现在在系统映像中,您需要单击“其他映像”选项卡
-Select an image to install. IMPORTANT: Notice that for AMD in the "ABI" column it has to say: ARM EABI v7a or ARM 64 v8a
- 选择要安装的映像。重要提示:请注意,对于AMD在“ABI”列中,它必须说:ARM EABI v7a或ARM 64 v8a
-Install it and restart Android Studio
- 安装它并重新启动Android Studio
This works for me.
这对我有用。
#3
7
I am using microsoft's Android emulator with Android Studio. I have an AMD FX8350. The ARM one in android studio is terribly slow.
我在Android Studio中使用microsoft的Android模拟器。我有AMD FX8350。 android studio中的ARM非常慢。
The only issue is that it requires Hyper-V which is not available on windows 10 Home.
唯一的问题是它需要在Windows 10 Home上不可用的Hyper-V。
Its a really quick emulator and it is free. The best emulator I have used.
它是一个非常快速的模拟器,它是免费的。我用过的最好的模拟器。
#4
1
On mine, I had to install ARM AEBI a7a System Image and Google APIs, and also installed MIPS which was only available for API 15, 16, and 17 (I didn't go below 15.) Took about 12 hours of tinkering, but it works now.
在我的,我必须安装ARM AEBI a7a系统映像和谷歌API,并且还安装了MIPS,它只适用于API 15,16和17(我没有低于15)。大约需要12个小时的修补,但是它现在有效。
alternatively, you can use Genymotion as an emulator, however will most likely lose design abilities otherwise available with included emulators.
或者,您可以使用Genymotion作为模拟器,但是很可能会失去其他模拟器可用的设计能力。
It works now. Pretty slow, but it works. Of course, once you have the emulator started, as long as you don't close it, it will be much faster.
它现在有效。很慢,但它的工作原理。当然,一旦你启动了模拟器,只要你不关闭它,它就会快得多。
You may need to restart Android studio, and I restarted my entire computer just for good measure.
您可能需要重新启动Android工作室,并且我重新启动了整台计算机。
Hope that helps.
希望有所帮助。
#5
1
The newest version of the Android emulator can be run with Hyper-V instead of Intel HAXM on the Windows 10 1804:
最新版本的Android模拟器可以在Windows 10 1804上使用Hyper-V而不是Intel HAXM运行:
https://blogs.msdn.microsoft.com/visualstudio/2018/05/08/hyper-v-android-emulator-support/
https://blogs.msdn.microsoft.com/visualstudio/2018/05/08/hyper-v-android-emulator-support/
Short version:
简洁版本:
- install Windows Hypervisor Platform feature
- 安装Windows Hypervisor平台功能
- Update to Android Emulator 27.2.7 or above
- 更新到Android Emulator 27.2.7或更高版本
- put WindowsHypervisorPlatform = on into C:\Users\.android\advancedFeatures.ini or start emulator or command line with -feature WindowsHypervisorPlatform
- 将WindowsHypervisorPlatform = on放入C:\ Users \ .android \ advancedFeatures.ini或使用-feature WindowsHypervisorPlatform启动模拟器或命令行
#6
0
The very first thing you need to do is download extras and tools package from SDK manager and other necessary packages like platform-25 and so on.. , after that open AVD manager and select any emulator you wan't, after that go to "other images" tab and select ARM AEBI a7a System Image and select finish and you are all done hope this would help you.
您需要做的第一件事是从SDK管理器和其他必要的软件包(例如platform-25等)下载附加软件和工具包,然后打开AVD管理器并选择您不想要的任何模拟器,之后转到“其他图像“选项卡并选择ARM AEBI a7a系统映像并选择完成,你们都希望这对你有所帮助。
#7
0
You've probably heard of Bluestacks, and actually you can run and debug your android apps on the Bluestacks emulator. I think this is the best solution to the slow Android Studios emulator speed. Also next time think about buying an Intel processor instead. Look here for more information: Connect Bluestacks to Android Studio
您可能听说过Bluestacks,实际上您可以在Bluestacks模拟器上运行和调试您的Android应用程序。我认为这是缓慢的Android Studios模拟器速度的最佳解决方案。下次还要考虑购买英特尔处理器。在此处查看更多信息:将Bluestacks连接到Android Studio
#8
0
I have a Ryzen 2600X and I am able to run the emulator without problems. Here are the tweaks I made:
我有一个Ryzen 2600X,我可以毫无问题地运行模拟器。以下是我做的调整:
*NOTE: You don't need the beta version of Android Studio or Android Emulator.
*注意:您不需要Android Studio或Android Emulator的测试版。
- Go to the MB bios and turn SVM on (CPU Virtualization).
- 转到MB BIOS并打开SVM(CPU虚拟化)。
- In Windows right click Windows Button => Select "Apps and Features" => "Programs and features" => "Turn Windows Features on and off"
- 在Windows中右键单击Windows按钮=>选择“应用程序和功能”=>“程序和功能”=>“打开和关闭Windows功能”
- In the displayed list select Hyper-V checkbox == Make sure the subfolders are all selected. When prompted to restart, restart the PC.
- 在显示的列表中选择Hyper-V复选框==确保选中子文件夹。提示重新启动时,重新启动PC。
- After restart and update instalation screen you are back in Windows and you should be able to run the Emulator.
- 重新启动并更新安装屏幕后,您将返回Windows,您应该可以运行模拟器。
**Note: I have selected x86_64 and plain x86 images(both API 28) from the x86 Images tab and they work just fine.
**注意:我从x86图像选项卡中选择了x86_64和普通x86图像(两者都是API 28),它们工作得很好。
***Note: Might also check for Android Licenses if errors pop up, I had an issue because of this while using Flutter, maybe it's related to that.
***注意:如果错误弹出,也可以检查Android许可证,我在使用Flutter时遇到了问题,可能与此有关。