Android 工作室、gradle 和 NDK [英] Android studio, gradle and NDK
问题描述
我对整个 gradle 和 Android Studio 支持很陌生.我已经设法使用导出选项将我的 android 项目转换为 gradle.
I am very new to this whole gradle and Android Studio support. I have managed to convert my android project to gradle using the export option.
但我正在寻找一些文档或起点,如何将 NDK 构建集成到 gradle 构建过程中.
But I am looking for some documentation or start point how to integrate the NDK build into the gradle build process.
如果可能,我还需要某种after"阶段,将构建二进制文件(.so 文件)复制到资产目录.
If possible I also need some sort of "after" stage that copies the build binaries (.so files) to the asset directory.
推荐答案
我们已经发布了集成的第一个版本,作为 1.3 的预览:http://tools.android.com/tech-docs/android-ndk-preview
We have released a first version of the integration as a preview in 1.3: http://tools.android.com/tech-docs/android-ndk-preview
即使在 1.3 成为最终版本后,集成仍将保持预览状态.目前尚无最终确定时间(截至 2015 年 7 月 10 日).
The integration will stay a preview even after 1.3 becomes final. No current ETA as to when it'll be final (as of 2015/07/10).
此处的更多信息:http://tools.android.com/tech-文档/android-ndk-预览
这篇关于Android 工作室、gradle 和 NDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!