Compiling the Flutter engine for a new platform requires an exorbitant amount of disk space.
.envrc
sudo apt-get install build-essential
Note: In GitHub Codespaces: Install Linux Brew brew install direnv Ensure the Brew and direnv shell hooks are installed, i.e. added to ~/.bashrc: eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" eval "$(direnv hook bash)"
Note: In GitHub Codespaces:
brew install direnv
~/.bashrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" eval "$(direnv hook bash)"
Install depot_tools
depot_tools
For best results, cp example.envrc .envrc and ensure depo_tools is added to the path.
cp example.envrc .envrc
depo_tools
Download Flutter engine sources, assuming depot_tools is available on the path:
fetch flutter
git -C src/flutter remote rename origin upstream
gclient sync
There was an error while loading. Please reload this page.