Language: English | 日本語
IDE | Version |
---|---|
Android Studio | Ladybug 2024.2.1 Patch 3 |
Xcode | 16.2 |
Note: We have confirmed that this project works with the IDE versions listed above. The project may not work properly with older or newer versions of these IDEs.
-
Install the IDEs.
-
Enable the fvm command. Also, run the following command to activate the Flutter version specified in
.fvmrc
: (Since both mason and melos may encounter issues when accessed through fvm, we recommend setting the current Flutter version as global in fvm)fvm use --force FLUTTER_VERSION=$(cat .fvmrc | yq ".flutter" -r) && fvm global $FLUTTER_VERSION
-
Enable the melos command.
-
Please install the yq command if it is not already installed. The yq command is used to parse the
pubspec.lock
file to extract the version of the melos command. -
Then, run the following command to globally activate the melos command.
MELOS_VERSION=$(cat pubspec.lock | yq ".packages.melos.version" -r) && dart pub global activate melos $MELOS_VERSION
-
-
Enable the mason_cli command.
-
Run the following command to globally activate the mason_cli command.
MASON_VERSION=$(cat pubspec.lock | yq ".packages.mason_cli.version" -r) && dart pub global activate mason_cli $MASON_VERSION
-
Also, please run the following command to enable local bricks:
mason get
-
If you use Visual Studio Code, reload the SDK by reloading the window.
If you use IntelliJ IDEA or Android Studio, please see the following document:
https://fvm.app/docs/getting_started/configuration#android-studio
melos bootstrap
The run-configurations are set up to run this app.
Please check:
.vscode/launch.json
for Visual Studio Code..idea/runConfigurations/~.xml
for IntelliJ IDEA or Android Studio.