【Flutter環境構築】Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to
flutter doctor --android-licenses
Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to
resolve this.
というエラーが出た場合は command line tools をインストールします
- AndroidStudio
- tools
- SDK Manager
- Android SDK
- SDK Tools
- Android SDK Command-line Tools (latest)
再度 flutter doctor --android-licenses をすると 以下のように y を求められますので、y をおしていきましょう
[=======================================] 100% Computing updates...
5 of 6 SDK package licenses not accepted.
Review licenses that have not been accepted (y/N)? y