Reputation: 313
I am using Android studio version 1.3.1 and try to integrate the NDK by going to local.proprties and writing ndk.dir= and I got this error
Error:Execution failed for task ':tesstwo:compileReleaseNdk'.
Error: NDK integration is deprecated in the current plugin. Consider trying the new experimental plugin. For details, see http://tools.android.com/tech-docs/new-build-system/gradle-experimental. Set "android.useDeprecatedNdk=true" in gradle.properties to continue using the current NDK integration.
Please help me to sole this issue.
Upvotes: 9
Views: 9004
Reputation: 11464
Add this to your build.gradle :
android{
sourceSets {
main {
jni.srcDirs = []
}
}
}
Upvotes: 14