您的位置:首页 > 其它

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

2017-12-22 10:33 429 查看
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.



2. 添加 android.useDeprecatedNdk=true 到该 gradle.properties 文件中。

gradle.properties 文件内容仅此如下一句:

android.useDeprecatedNdk=true

转载自:http://www.androidstar.cn/studio-android-usedeprecatedndktrue解决ndk提示版本低不能自动编译jni/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐