Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Android OS only used for ARM CPUs?

If not, can APK files for Android run on either ARM CPUs or non-ARM CPUs?

Sorry for my poor English.

like image 301
xiaokaoy Avatar asked Jul 21 '13 09:07

xiaokaoy


People also ask

Is Android based on ARM?

The main hardware platform for Android is ARM (the ARMv7 and ARMv8-A architectures), with x86 and x86-64 architectures also officially supported in later versions of Android.

Does Android run on ARM or x86?

The new ARM-compatible Android 11 system images allow the entire system to run x86 natively and take advantage of virtualization technologies as usual.

Can an Android run on x86 processor?

Android-x86 is a free, open source project based on AOSP (the Android Open Source Project). It's designed to run on x86 processors from Intel and AMD. Can you run Android on x86? Yes!

Do all phones use ARM processors?

Discover the IP that Goes into Smartphones All Over the World. Arm CPUs are the leading smartphone processor IP on the market today. 95 percent of premium smartphones are powered by Arm. Arm GPUs deliver first-rate performance and efficiency for your smartphone.


2 Answers

Android runs on other CPU's as well. Such as Intel Atom.

If your app uses only Java then it doesn't matter. It can run on any CPU and you won't care. You don't have to program specifically per CPU when working with Java.

If your app uses native code (NDK), then you'll have to prepare your APK to run on all CPU's you want to support. Instructions such as these explain how to do so.

If you're not sure if you need NDK or not, then you probably don't. NDK is needed in very specific cases such as high performance games. If you're just making a regular app, you will probably use Java only.

Regarding the APK issue - if you need to support multiple architectures you can do this using both a single APK or multiple APK's. Read this for more info.

like image 63
talkol Avatar answered Sep 20 '22 20:09

talkol


Android supports, ARM, MIPS, Power Architecture, x86 prosessors..X86 cpu's are like Intel Atom and other cpu's that are single core like the Pentium M. Android needs atleast a 480MHZ Cpu to run smooth anything below will be slow. and as talkol mentioned if you're programming in java (most likely) the architecture doesn't matter.

like image 34
Mero Avatar answered Sep 16 '22 20:09

Mero