- Install snap
- follow instruction of this youtube video
install flutter with snap
sudo snap install flutter --classic
If flutter snap version was not compatible with the latest release, don't flutter upgrade.
flutter upgrade download the newest version and it may face following error known for this flutter issue
Initializing Flutter
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 /
...all files from google storage service are banned and can not be downloaded properly so you can use following service which change your DNS.
- run
fluttercommand in terminal and pressctrl+cto terminate the process after download is starting. - copy the download link shown on terminal or use the latest realse direct download link
- use your browser and vpn extenstion/add-ons like zenMate and download that file
- each file is in the format of
flutter_linux_<version>-stable.tar.xzand contains the flutter folder - go to flutter directory
pwd && cd snap/flutter/commonit must have the another flutter folder - extract the flutter content of
flutter_linux_<version>-stable.tar.xzinto the seen flutter folder - run
fluttercommand again
In a case android tool chain faced issue, follow this instruction
In a case an android studio face some issue in downloading, follow this instruction
In a case an build process failed and can't download any content , follow this instruction
In a case an android studio face some issue in downloading, follow this instruction