I've had the same problem, and I resolved it by addind this : sourceSets {
main {
res.srcDirs = ['src/main/res'] jniLibs.srcDirs = ['src/main/jniLibs'] jni.srcDirs = [] // This prevents the auto generation of Android.mk }
}
to my build.gradle (the one in app) in the android object.
Maybe it will work for you ;)