No version of NDK matched the requested version 20.0.5594570. Versions available locally: 21.0.61136

android studio更新到3.6,构建NDK项目的时候NDK版本引起的同步报错

解决方法:参考https://mlog.club/article/5271812

android {
    ndkVersion "major.minor.build"
}

同步之后会修改build.gradle,引入ndk版本

android {
ndkVersion '21.0.6113669'

}
发布了118 篇原创文章 · 获赞 14 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/github_38641765/article/details/104870647
今日推荐