简体   繁体   English

等待另一个 flutter 命令释放启动锁; 尝试在 https://pub.dartlang.org 找到 package english_words 时出现套接字错误

[英]Waiting for another flutter command to release the startup lock ; Got socket error trying to find package english_words at https://pub.dartlang.org

I have trying to install flutter onto my Mac.I have realised that I might have installed flutter multiple time without uninstalling properly.我试图在我的 Mac 上安装 flutter。我意识到我可能已经多次安装 flutter 而没有正确卸载。 Now suggest me the needful to get why flutter fired up and running.现在建议我了解为什么 flutter 启动并运行。

For this error: Waiting for another flutter command to release the startup lock I tried running killall -9 dart and removing /bin/cache/lockfile (there was no lock file) Waiting for another flutter command to release the startup lock对于这个错误: Waiting for another flutter command to release the startup lock 我尝试运行 killall -9 dart 并删除 /bin/cache/lockfile(没有锁定文件) Waiting for another flutter command to release the startup lock

For this error: Got socket error trying to find package english_words at https://pub.dartlang.org I tired changing to auto-detect proxy in android studio Got socket error trying to find package english_words at https://pub.dartlang.org For this error: Got socket error trying to find package english_words at https://pub.dartlang.org I tired changing to auto-detect proxy in android studio Got socket error trying to find package english_words at https://pub.dartlang.组织

Ps: I followed the flutter docs from the website and not sure what I might have done wrong. Ps:我关注了网站上的 flutter 文档,但不确定我可能做错了什么。

So I found out the answer myself.所以我自己找到了答案。 Just posting the answer so that someone else could benefit.只是发布答案,以便其他人可以受益。 It was the antivirus in my case.就我而言,这是防病毒软件。 it was not allowing to find the package in https://pub.dartlang.org .它不允许在https://pub.dartlang.org 中找到 package

I turned off the antivirus, now I the flutter runs fine.我关闭了防病毒软件,现在我的 flutter 运行良好。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Flutter 调试 /root/.pub-cache/hosted/pub.dartlang.org 包中的编译错误 - Flutter debug compilation error from /root/.pub-cache/hosted/pub.dartlang.org packages 无法解析 URL“https://pub.dartlang.org”。 错误 (69):无法“发布升级”flutter 工具。 五秒后重试...(还剩 9 次尝试) - Could not resolve URL "https://pub.dartlang.org". Error (69): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left) Flutter 应用程序未运行仅显示“正在等待另一个 flutter 命令释放启动锁” - Flutter app not running showing only "Waiting for another flutter command to release the startup lock" Flutter:等待另一个 Flutter 突击队员释放启动锁 - Flutter: Waiting for another flutter commando to release the startup lock Flutter Pub 在尝试运行一些旧项目时出错 - Flutter Pub Get Error when trying to run some old project Flutter Pub Get 命令添加依赖失败 - Flutter Pub Get command fails to add dependencies 尝试发布应用程序时android studio flutter错误 - android studio flutter error when trying to release the app 我在我尝试过的 flutter 代码中遇到了这些错误(flutter clean - flutter pub get - flutter 升级 - 缓存修复)所有这些都不起作用 - I got these error in my flutter code I've tried (flutter clean - flutter pub get - flutter upgrade - cache repair) all of it didn't work 当我尝试在android中启动新活动时出现ActivityNotFoundException错误 - I got ActivityNotFoundException error when i was trying to startup a new activity in android 尝试获取表行计数值,但转换结果java.lang.NullPointerException时出错:lock == null - trying to get table row count value but got Error converting result java.lang.NullPointerException: lock == null
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM