arm64-v8a与armeabi-v7a兼容吗? [英] Is arm64-v8a compatible with armeabi-v7a?

查看:424
本文介绍了arm64-v8a与armeabi-v7a兼容吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于我的Android应用,我现在正在使用ABI"x86"和"armeabi". armeabi用于所有ARM设备,包括armv7a和arm64-v8a.

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.

现在,我想删除"armeabi",然后继续"x86"和"armeabi-v7a".

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

我没有在文档中找到任何暗示,ARMv8也与ARMv7兼容-如果我不提供armeabi但现在提供armeabi,谁能确认我的应用仍可在运行arm64-v8a的设备上运行-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?

推荐答案

许多现代的Android设备(例如Nexus 5x)都具有 AArch64 处理器,并带有 arm64-v8a 指令集. armeabiarmeabi-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'.

有关Android上ABI管理的详细信息,请参见以下内容: https://developer.android .com/ndk/guides/abis.html

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

这篇关于arm64-v8a与armeabi-v7a兼容吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆