[英]Problem in running Flutter first counter app on vscode
I just downloaded flutter sdk and tried to launch flutter first app on vscode it is showing this error.我刚刚下载了 flutter sdk 并尝试在 vscode 上启动 flutter 第一个应用程序,它显示此错误。 Please help me to resolve this error.请帮我解决这个错误。 I just started learning flutter i dont know much about flutter.我刚开始学习 flutter 我对 flutter 了解不多。
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "C:\Users\ADMIN\.android\debug.keystore": Keystore was tampered with, or password was incorrect
in terminal run在终端运行
flutter doctor
to check if you have android SDK setup correctly检查您是否正确设置了 android SDK
I was already using gradle 6.3.我已经在使用 gradle 6.3。 If your not using gradle 6.3.. then go to gradle/wrapper/gradle-wrapper.如果您不使用 gradle 6.3.. 那么 go 到 gradle/wrapper/gradle-wrapper。 properties and change the distribution Url to this属性并将分布 Url 更改为此
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip
If you still get that error.. follow these steps:如果您仍然遇到该错误......请按照下列步骤操作:
The above steps fixed the problem.上述步骤解决了问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.