android studio - NDK for AndroidStudio -


i follow page study "ndk setting under androidstudio".

http://www.shaneenishry.com/blog/2014/08/17/ndk-with-android-studio/

but face issue when config ndk gradle.here error message. have me?

error:(20, 0) gradle dsl method not found: 'ndk()' possible causes:

  • the project 'my application' may using version of gradle not contain method. open gradle wrapper file
  • the build file may missing gradle plugin. apply gradle plugin
  • i had problem , solved following steps in blog: http://ph0b.com/new-android-studio-ndk-support/

    and looking @ source code of project: https://github.com/googlesamples/android-ndk/tree/master/hello-jni

    i hope helps.


    Comments

    Popular posts from this blog

    javascript - AngularJS custom datepicker directive -

    javascript - jQuery date picker - Disable dates after the selection from the first date picker -