78

I'm new to Android Studio. My computer doesn't support HAXM so it won't let me install that to use for virtualization. In some similar questions on this website people mention setting up a virtual device with an ARM instead of HAXM. How can I do this?

In the AVD manager all of the premade hardware profiles use HAXM, and when I click "New Hardware Profile" I don't see any option to use ARM. I looked in the SDK Manager and for API 22 I have installed "ARM EABI v7a System Image" and "Google APIs ARM EABI v7a System Image", are those what I need?

How can I create a custom virtual phone with ARM, or is there a way I can use one of the preexisting hardware devices with ARM instead of HAXM?

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
user2636417
  • 2,357
  • 3
  • 15
  • 8

2 Answers2

122

I figured it out and I'll answer it here in case anybody else finds this question.

  1. Go to Tools -> Android -> AVD Manager
  2. Click "Create Virtual Device"
  3. Select which device you want to use from the list (i.e Nexus 5) and click "Next".
  4. Here you're given a list of android release versions. Look at the ABI column. "Armeabi-v7a" ABI is what to look for, for whichever API Level you want.
  5. Hit "Next" and modify name/size if you want, click "Finish" when done.
OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
user2636417
  • 2,357
  • 3
  • 15
  • 8
  • 59
    If you don't see the "arm" options, switch tab to "Other Images" between steps 3 and 4. – Nick Perkins May 28 '16 at 17:55
  • i wish one could provide his own custom image (when building AOSP) – Jaroslav Záruba Jan 06 '17 at 22:44
  • 6
    ALL of the images in all of the tabs, including the ARM images, say "Your CPU does not support required features (VT-x or SVM). – Phil Goetz Sep 20 '17 at 22:32
  • I have followed the instructions and the emulator appears but suddenly crushes! this is the crush message: `Crash reason: EXCEPTION_ACCESS_VIOLATION_WRITE Crash address: 0x0 Assertion: Unknown assertion type 0x00000000 Process uptime: not available` any help !!! – Hashmatullah Noorzai Nov 25 '17 at 04:04
  • 4
    Sadly, all the ARM emulators are very old. The newest I can get is an API 25 emulator. – Heath Borders Apr 22 '20 at 18:01
43

If you didn't see the ARM option as user2636417 wrote, just click on "Other Images" tab and download the desired ARM option.

How to add a new ARM image

Sean Wei
  • 7,433
  • 1
  • 19
  • 39
Alex8752
  • 597
  • 5
  • 12
  • 1
    I don't see those tabs on my version of Android Studio. 3.1.2 – lostintranslation Jul 11 '18 at 02:19
  • 37
    As I'm writing this the most recent Android API level is 28 (Android 9.0) but the newest ARM ABIs on the list are only API level 25 (Android 7.1.1). Is Google not providing these anymore? – apaatsio Mar 30 '19 at 15:48
  • 2
    No. @apaatsio google are not providing ARM emulator builds. But I see that the latest preview build Android 11 have now got ARM emulators https://www.electronicsweekly.com/news/google-smooths-android-path-emulated-arm-app-support-2020-03/ . hope that helps. –  Apr 16 '20 at 18:22