Execution failed for task ':app:compileDebugNdk

就是在app/build.gradle中的android里面加上

sourceSets.main {
    jni.srcDirs = []
}

就可以了

猜你喜欢

转载自blog.csdn.net/s_nshine/article/details/81267201