LoginSignup
0
1

More than 3 years have passed since last update.

MacでFlutterの環境構築をする際にAndroid Studioを「Applications」以外にインストールしていた場合の対応

Posted at

PCの容量の都合で、外部ストレージにAndroid Studioをインストールしていたら、Flutterの環境構築時に「Android Studioが無いよ!」って怒られました。

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.4 18E226, locale ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
[!] Android Studio (not installed)
[✓] VS Code (version 1.33.1)
[✓] Connected device (1 available)

この場合、以下のコマンドで、Android Studioの場所を指定できました。

$ flutter config --android-studio-dir=/(path)/Android\ Studio.app/

参考

0
1
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
1