Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Virtual Device (AVD) -- which CPU/ABI should I select?

When creating an AVD, there are three options to select for CPU/ABI:

  • ARM
  • Mips
  • Intel Atom

What are the differences and which should I choose? Is there one that covers most devices?

like image 944
TrippinBilly Avatar asked Nov 05 '12 17:11

TrippinBilly


People also ask

Which processor architecture or ABI should you use for creating an Android Virtual Device on a Windows computer?

Hardware Requirements You need Android SDK edition 26.1. 1 and higher. Your PC or laptop should have a processor type 64 or 86-bit to work with the Android emulator.

What is ABI in emulator?

Each combination of CPU and instruction set has its own Application Binary Interface (ABI). An ABI includes the following information: The CPU instruction set (and extensions) that can be used. The endianness of memory stores and loads at runtime. Android is always little-endian.

How can I make my AVD faster?

Go to the Android SDK root folder and navigate to extras\intel\Hardware_Accelerated_Execution_Manager. Execute file IntelHaxm.exe to install. (in Android Studio you can navigate to: Settings -> Android SDK -> SDK Tools -> Intel x86 Emulator Accelerator (HAXM installer)) Create AVD with "Intel atom x86" CPU/ABI.


2 Answers

According to the android developer documentation you should actually create a virtual device for every framework and platform you intend to run the code on, that being said the majority of mobile devices in the market currently run on the ARM architecture.. you should still test your code on a distinct virtual appliance for each level of the framework that your code supports though.

System Image
Recommended. Although you might have one or more Android-powered devices on which to test your app, it's unlikely you have a device for every version of Android your app supports. It's a good practice to download system images for all versions of Android your app supports and test your app running on them with the Android emulator.

http://developer.android.com/sdk/installing/adding-packages.html

like image 181
Quintin Robinson Avatar answered Oct 02 '22 17:10

Quintin Robinson


90% of the mobile devices are powered by ARM. So it will be a better option

like image 43
Kavin Varnan Avatar answered Oct 02 '22 17:10

Kavin Varnan