51

Android NDK 开发之 CMake 必知必会

 4 years ago
source link: https://juejin.im/post/5b9879976fb9a05d330aa206
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Android Studio 从 2.2 版本起开始支持 CMake ,可以通过 CMake 和 NDK 将 C/C++ 代码编译成底层的库,然后再配合 Gradle 的编译将库打包到 APK 中。 这意味就不需要再编写 .mk 文件来编译 so 动态库了。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK