![](/img/trans.png)
[英]How to make Android apps which support both 32-bit and 64-bit architecture?
[英]Which version of android OS support 64-bit architecture
据我所知,只有最新的 Lollipop (Android 5.x) 操作系统支持 64 位架构。 64 位架构是否也支持任何旧版本的 Android 操作系统(Android 5.x 之前的版本)?
快速检查Android 4.4的Android 兼容性定义文档第 3.3.1 节指出:
MUST report, via android.os.Build.CPU_ABI, only one of the ABIs listed below
* armeabi-v7a
* x86
* mips
如果您查看Android 5.0 的 Android 兼容性定义文档,您将在 3.3.1 节中看到:
* MUST support the equivalent 32-bit ABI if any 64-bit ABI is supported
* MUST accurately report the native Application Binary Interface (ABI) supported by the device, via the
android.os.Build.SUPPORTED_ABIS, android.os.Build.SUPPORTED_32_BIT_ABIS, and
android.os.Build.SUPPORTED_64_BIT_ABIS parameters, each a comma separated list of ABIs ordered from the most to the least preferred one
所以答案是肯定的,在 Lollipop 5.x 之前不支持 64 位。 或者至少不是在向应用程序公开的兼容性 API 要求层。
如果您想检查较旧的 CDD,可以在此处找到它们: https ://source.android.com/compatibility/cdd
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.