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

玉字璧

关注

阅读 76

2023-03-28


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)

0 0 举报