使用 NDK 编译代码主要有三种方法:
构建您的项目
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Build your project\n\nThere are three main ways to build code with the NDK:\n\n- The Make-based [ndk-build](/ndk/guides/ndk-build).\n- [CMake](/ndk/guides/cmake).\n- [Standalone toolchains](/ndk/guides/standalone_toolchain) for integration with other build systems, or use with `configure`-based projects."]]