I follow this page to study "NDK setting under androidStudio".
http://www.shaneenishry.com/blog/2014/08/17/ndk-with-android-studio/
But I face an issue when I Config ndk with gradle.here is error message. have anybody help me?
Error:(20, 0) Gradle DSL method not found: 'ndk()' Possible causes:
I had this problem and solved it by following the steps in this blog: http://ph0b.com/new-android-studio-ndk-support/
and looking at the source code of this project: https://github.com/googlesamples/android-ndk/tree/master/hello-jni
I hope that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With