导入github代码时,报错“No version of NDK matched the requested version 21.0.6113669.”
应该时NDK没配置好。点击项目的
下载
然后就ok了~
如何上面的不行,可以参考下面博客
https://blog.csdn.net/shui123546yi/article/details/105368737
https://blog.csdn.net/louyxlovess/article/details/50608823
在local.properties加入
ndk.dir=C:\\Android\\AndroidSDK\\ndk\\21.3.6528147
参考资料
https://www.cnblogs.com/SnailMove/p/12956331.html