I\'m using the latest android studio build 1.1 ,since i want to import an eclipse project that needs NDK .i installed NDK and set the NDK location in the local.propert
This solved my problem:
{approot}\app\src\main\jni
Add the following code to your app/gradle.build
file, in the android section. It should look like this:
android {
...
sourceSets.main {
jniLibs.srcDir 'libs'
jni.srcDirs = [] //disable automatic ndk-build call
}
}