Skip to content

Latest commit

 

History

History
88 lines (56 loc) · 2.47 KB

GET_STARTED.md

File metadata and controls

88 lines (56 loc) · 2.47 KB

Get Started

Language: English | 日本語

IDE Versions

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.

Advance preparation

  • 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

Set up the IDEs to use fvm

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

Install dependencies

melos bootstrap

Run app

The run-configurations are set up to run this app.

Please check: