NDK报错:ndk-build.cmd'' finished with non-zero exit

解决链接:https://stackoverflow.com/questions/29605029/android-studio-failed-build-ndk-project-non-zero-exit-value

解决方法:在D:\projecttwo\test5\PCMNoiseSupression-master\app\build.gradle,android{}里面添加下面这一段,然后sync项目就可以了

sourceSets {
    main {
        res.srcDirs = ['src/main/res']
        jniLibs.srcDirs = ['src/main/jniLibs']
        jni.srcDirs = [] // This prevents the auto generation of Android.mk
}
}

你可能感兴趣的:(NDK报错:ndk-build.cmd'' finished with non-zero exit)