NDK integration in Android studio

后端 未结 3 1184
梦谈多话
梦谈多话 2021-02-03 23:44

Today I updated my android studio to 1.3 and I enter the NDK (android-ndk-r10e NDK version) path in local.properties (ndk.dir=C:\\AndroidNDK\\android-ndk-r10e\\android-ndk-r10e)

3条回答
  •  死守一世寂寞
    2021-02-04 00:33

    Add following code in your build.gradle

     sourceSets {
            main {
                jni.srcDirs = []
            }
        }
    

    This may solve your problem..

提交回复
热议问题