LOCAL_MULTILIB

LOCAL_MULTILIB 可以指定特定模块编译32bit或64bit或都编译。

其值可选择:

  • “both”: build both 32-bit and 64-bit.
  • “32”: build only 32-bit.
  • “64”: build only 64-bit.
  • “first”: build for only the first arch (32-bit in 32-bit devices and 64-bit in 64-bit devices).
  • “”: the default; the build system decides what arch to build based on the module class and other LOCAL_ variables, such as LOCAL_MODULE_TARGET_ARCH, LOCAL_32_BIT_ONLY, etc.

Android.mk支持通过下面变量配置仅编译32位。
LOCAL_32_BIT_ONLY := true
或者使用下面配置
TARGET_PREFER_32_BIT := true

Camera课程

Python教程

Java教程

Web教程

数据库教程

图形图像教程

办公软件教程

Linux教程

计算机教程

大数据教程

开发工具教程