Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is arm64-v8a compatible with armeabi-v7a?

For my Android-app I'm using the ABI "x86" and "armeabi" right now. The armeabi is used for all ARM-devices, including armv7a and arm64-v8a.

Now I would like to remove the "armeabi" and just continue with "x86" and "armeabi-v7a".

I haven't found any hint in the docs, that ARMv8 is also compatible with ARMv7 - can anyone confirm that my app will still work on devices running arm64-v8a, if I don't offer an armeabi but now an armeabi-v7a-library?

like image 655
Martin L. Avatar asked Oct 24 '15 11:10

Martin L.


People also ask

Can ARM64-v8a run Armeabi-v7a?

Many modern Android devices (i.e. Nexus 5x) have AArch64 processors with arm64-v8a instruction set. Both - armeabi and armeabi-v7a - libraries run fine on these modern devices. Therefore, we can assume the answer to your question to be 'YES'.

What is the difference between Armeabi-v7a and ARM64-v8a?

armeabi-v7a is the older target, for 32 bit arm cpus, almost all arm devices support this target. arm64-v8a is the more recent 64 bit target (similar to the 32-bit -> 64 bit transition in desktop computers).

Can ARMV7 run ARM64?

64-bit SoCs ( ARMV8 archictecture ) can run 32-bit apps, but 32-bit SoCs ( ARMV7 aechitecture ) cannot run 64-bit apps.

What bit is Armeabi-v7a?

armeabi-v7a This ABI is for 32-bit ARM-based CPUs.


1 Answers

Many modern Android devices (i.e. Nexus 5x) have AArch64 processors with arm64-v8a instruction set. Both - armeabi and armeabi-v7a - libraries run fine on these modern devices. Therefore, we can assume the answer to your question to be 'YES'.

See this for a breakdown of ABI management on Android: https://developer.android.com/ndk/guides/abis.html

like image 184
IgorGanapolsky Avatar answered Oct 05 '22 01:10

IgorGanapolsky