[英]FAILURE: Build failed with an exception in Android Studio Flutter
Can anyone explain why I have this error?谁能解释为什么我有这个错误? I tried also downloading NDK but when it finish it says NDK does not contain any platforms.
我也尝试下载 NDK,但完成后它说NDK does not contain any platforms.
Any help is much appreciated thanks in advance.任何帮助都非常感谢提前感谢。
Local Properties本地属性
Can you specifying ndk
version in build.gradle
file你能在build.gradle
文件中指定ndk
版本吗
android {
ndkVersion '21.3.6528147'
}
And inside local.properties remove并且在 local.properties 里面删除
ndk.dir=~/Library/Android/sdk/ndk-bundle
line otherwise it may conflicts with path行,否则可能与路径冲突
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.