I am using Android studio version 1.3.1 and trying to integrate NDK by going to local.proprties and writing ndk.dir = and I got this error
Error: execution completed for task ': tesstwo: compileReleaseNdk'.
Error: NDK integration is deprecated in the current plugin. Try a new experimental plugin. See http://tools.android.com/tech-docs/new-build-system/gradle-experimental for more details. Set "android.useDeprecatedNdk = true" to gradle.properties to continue using the current NDK integration.
Please help me solve this problem.
Add this to your build.gradle:
android{ sourceSets { main { jni.srcDirs = [] } } }