0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

fvm導入後にfvmでインストールしたFlutterが使われない

Last updated at Posted at 2021-06-30

概要

Flutter2を簡単に試すためにfvm(Flutterのバージョン管理ツール)を導入しました。導入方法は適当なサイトで見て導入していて、使い方が完全に間違っていたので共有します。

fvmの使い方

> fvm flutter {command}

fvm導入後は上記のコマンドでbuildなどを実行してください。fvm導入前のようにflutter {command}で実行すると他のバージョンが参照される可能性があります。

また、下記のように直接flutterのsdkを叩く方法もあります。

.fvm/flutter_sdk/bin/flutter {command}

最後に

公式ドキュメントは読もう!:https://fvm.app/docs/guides/running_flutter

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?