NDK为AndroidStudio [英] NDK for AndroidStudio
问题描述
我按照此页面来研究NDK androidStudio下设置。
I follow this page to study "NDK setting under androidStudio".
<一个href=\"http://www.shaneenishry.com/blog/2014/08/17/ndk-with-android-studio/\">http://www.shaneenishry.com/blog/2014/08/17/ndk-with-android-studio/
但我面对的一个问题,当我与配置NDK gradle.here是错误消息。
已经有人帮我吗?
But I face an issue when I Config ndk with gradle.here is error message. have anybody help me?
错误:(20,0)摇篮DSL方法未找到:'NDK()
可能的原因:
打开包装摇篮文件
应用摇篮插件
Error:(20, 0) Gradle DSL method not found: 'ndk()' Possible causes:
推荐答案
我有这个问题,并按照此博客的步骤解决它:
http://ph0b.com/new-android-studio-ndk-support/一>
I had this problem and solved it by following the steps in this blog: http://ph0b.com/new-android-studio-ndk-support/
看着这个项目的源代码code:
https://github.com/googlesamples/android-ndk/tree/master / HELLO-JNI
and looking at the source code of this project: https://github.com/googlesamples/android-ndk/tree/master/hello-jni
我希望帮助。
这篇关于NDK为AndroidStudio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!