Android 项目 Gradle 编译DNK不匹配问题
错误提示信息
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:stripReleaseDebugSymbols'. > No version of NDK matched the requested version 20.0.5594570. Versions available locally: 21.3.6528147
解决方式
# 在local.properties中添加ndk 路径 cat local.properties ... sdk.dir=/Users/qa/tools/android-sdk-mac_x86 ndk.dir=/Users/qa/tools/android-ndk-r20b ...
NDK 历史版本下载链接:https://developer.android.google.cn/ndk/downloads/older_releases
本文来自博客园, 作者:Star-Hitian, 转载请注明原文链接:https://www.cnblogs.com/Star-Haitian/p/15014764.html