Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android armeabi devices with API level 15+

Tags:

android-ndk

I'm developing an app for API level 15+ that has some jni code and i'm wondering if there are devices with armeabi ABI (ARMv5) and API level 15+

Can i include only armeabi-v7a and x86 libraries and skip the old armeabi?

like image 313
Luca Looz Avatar asked Jun 18 '15 19:06

Luca Looz


People also ask

Is armeabi v7a 64-bit?

Note in this example the presence of armeabi-v7a and arm64-v8a libraries, which means the app supports 64-bit architectures.

What is arm64-v8a in Android?

arm64-v8a. This ABI is for ARMv8-A based CPUs, which support the 64-bit AArch64 architecture. It includes the Advanced SIMD (Neon) architecture extensions. You can use Neon intrinsics in C and C++ code to take advantage of the Advanced SIMD extension.

What does it mean by android API Level and Why do we need it?

What is API Level? API Level is an integer value that uniquely identifies the framework API revision offered by a version of the Android platform. The Android platform provides a framework API that applications can use to interact with the underlying Android system.


1 Answers

Android itself doesn't support ARM versions below ARMv7 from Android 4.4 (API level 19). Since Android 4.0 (API level 15), it doesn't support ARMv5/ARMv6 by default but can be modified to build for those platforms (see https://groups.google.com/d/msg/android-building/Q_gU1zb6DLc/Bq5QryioQ_kJ), and there are custom builds that run on ARMv6. I'm not entirely sure if there are any official, certified compatible devices that run such a combination (Android 4.0-4.3) though - there should at least not be any such certified devices running Android 4.4, since the compatibility definition document strictly requires ARMv7 from that version.

So in practice you should be pretty safe to skip it, but you might exclude some fringe third party ROMs by doing that.

See https://stackoverflow.com/a/28926267/3115956 for a similar answer to a similar question.

like image 192
mstorsjo Avatar answered Oct 20 '22 18:10

mstorsjo