解决方法:

   在jni文件下建一个空的empty.c文件 编译运行即可。

如果还运行不了,在当前model的build.gradle下添加。

android{
…………
sourceSets.main {

jni.srcDirs = []

}

}

 

相关文章: