How to disable NDK build in Android Studio 1.0.1

I am trying to create an Android Java application using Android Studio 1.0.1. However, my application uses C ++ code, which I create using the NDK, which is controlled by Android.mk and Application.mk files. But Android Studio tries to create its own assembly and makes a mistake, because it does not use my * .mk files. I know that there were some answers on how to do this for previous versions of Android Studio, but they obviously do not work for 1.0.1.

So how to disable Android NDK for build in Android Studio 1.0.1 ?

+4
source share
1 answer

sourceSets.main.jni.srcDirs = [] 'android' build.gradle. ndk-build Android.mk.

, ​​ gradle.

+9

All Articles