Is arm64-v8a compatible with armeabi-v7a?

隐身守侯 提交于 2019-12-17 09:19:10

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/33317689/is-arm64-v8a-compatible-with-armeabi-v7a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!