问题
I'm trying to setup an Android development environment on my computer, and I'm having trouble setting up an AVD, so I can test my applications without having to have a physical device all the time. However, I'm running into a problem. The first problem is that when I create an AVD in AVD Manager, it doesn't show up on the AVD list when I try to run my application (yes, I checked the Android target version). I realized that seems to be because the AVD wants to use HAXM, but my computer seemingly does not support HAXM because it uses an AMD processor and not an Intel processor.
According to Android Studio, one option is to use an ARM system image which does not require HAXM. However, when I tried to create an ARM image, I still get the same "Your computer does not support HAXM" error in the "recommendations" box on the bottom right, and when I create the AVD it still doesn't show up in my AVD list.
Buying a new computer to do Android development on is not an option to me, I would like to be able to do development on the computer I have. Also, Intel emulation is not supported in my BIOS.
I also tried running my emulator from the AVD manager directly rather than trying to go through the application Run menu, and I got this error (which appears to have nothing to do with HAXM, but I'm not sure):
/home/ertai87/Android/Sdk/tools/emulator -netdelay none -netspeed full -avd Nexus_5X_API_23
/home/ertai87/Android/Sdk/tools/emulator: 1: /home/ertai87/Android/Sdk/tools/emulator: Syntax error: word unexpected (expecting ")")
Screenshots:
Of the AVD Manager
Of the run menu
Of the "Create new AVD" select image screen, when selecting ARM images
来源:https://stackoverflow.com/questions/37196960/how-to-create-an-android-avd-without-haxm