Android-Android studio 出现 Error: NDK integration is deprecated in the current plugin. 问题解决

来源:互联网 发布:nginx 分布式缓存原理 编辑:程序博客网 时间:2024/05/17 08:08

出现如下问题:

Error:(50, 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.



解决办法:

如图:  在gradle.properties 文件里面添加 android.useDeprecatedNdk=true 后重新编译即可

1 0
原创粉丝点击