2
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.

Flutter SDK セットアップで Android sdkmanager tool not found

Posted at

エラーの原因は、Android Studio3.6 (2020.3.10現在)でSDK ToolsがGUIからなくなったようです。

% flutter doctor --android-licenses
Android sdkmanager tool not found
(/Users/xxxxxxx/Library/Android/sdk/tools/bin/sdkmanager).
Try re-installing or updating your Android SDK,
visit https://flutter.dev/setup/#android-setup for detailed instructions.

githubでもイシューが上がっているのでそのうち解決されると思います。
https://github.com/flutter/flutter/issues/51712#issuecomment-593375678

Comand line Toolに変わったようでパスを変更するとうまくいくらしいですが面倒なので
Hide Obsolete Packagesのチェックを外してSDK Toolsにチェックを入れるとうまくいきました。
スクリーンショット 2020-03-10 17.01.34.png

% flutter doctor --android-licenses
Warning: File /Users/xxxxxx/.android/repositories.cfg could not be loaded. 
5 of 7 SDK package licenses not accepted. 100% Computing updates...             
2
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
2
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?