解决NDK版本过低不能自动编译JNI的问题


Error:(12, 0) Error: NDK integration is deprecated in the current plugin.  

Consider trying the new experimental plugin.  
For details, see http://tools.android.com/tech-docs/new-build-system/gradle-experimental.  

Set “android.useDeprecatedNdk=true” in gradle.properties to continue using the current NDK integration.


android studio问题


2. 添加 android.useDeprecatedNdk=true 到该 gradle.properties 文件中。
gradle.properties 文件内容仅此如下一句:

android.useDeprecatedNdk=true


转载自:http://www.androidstar.cn/studio-android-usedeprecatedndktrue解决ndk提示版本低不能自动编译jni/



猜你喜欢

转载自blog.csdn.net/zhourui_1021/article/details/78870577