我刚在Ubuntu 20.04上安装了snapstore
sudo snap install flutter --classic但是,安装完成后,如果在控制台中运行此命令(或任何其他命令(包括flutter) )
flutter我知道这个错误
Initializing Flutter
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 193 100 193 0 0 48 0 0:00:04 0:00:03 0:00:01 48
parse error: Invalid numeric literal at line 1, column 6
parse error: Invalid numeric literal at line 1, column 6
jq: error: syntax error, unexpected ')' (Unix shell quoting issues?) at <top-level>, line 1:
[.releases[] | select(.hash==)][0].archive
jq: 1 compile error
Downloading /
curl: (3) <url> malformed
tar: latest_stable.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Flutter initialization failed
Could not find working copy of Flutter发布于 2022-02-19 20:02:17
禤浩焯。您可以尝试从提供的路径运行它:
flutter sdk-pathhttps://stackoverflow.com/questions/69139254
复制相似问题