Android Studio运行或Rebuild的时候报Error:Execution failed for task ':app:compileDebugNdk'.的解决办法

来源:互联网 发布:显卡升级软件下载 编辑:程序博客网 时间:2024/06/06 02:18

Error:Execution failed for task ':app:compileDebugNdk'.
> 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”

阅读全文
0 1