[英]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.