Android Studio、Gradle 和 NDK [英] Android studio, gradle and NDK

查看:25
本文介绍了Android Studio、Gradle 和 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.

如果可能的话,我还需要某种之后"阶段,将构建二进制文件(.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-docs/android-ndk-preview

这篇关于Android Studio、Gradle 和 NDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆