解决Could not find method ndkVersion() for arguments on object of type com.android.build.问题
问题起因今天刚升级完Android Studio 4.0,偶然用到了 NDK 相关的项目,运行后出这个错,还以为我这台电脑没有装相应的 NDK 点击Update。然后就遇到了这个问题:Could not find method ndkVersion() for arguments on object of type com.android.build。解决问题通过提示Open File 发现文件的 android 标签的最下面AS给自动加了这么一行:ndkVersion '21.2.64726
原创
2020-05-30 07:46:23 ·
20656 阅读 ·
6 评论