Android toolchain - develop for Android devices (Android SDK version 34.0.0)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/to/windows-android-setup for more details.
위에 오류가 나온 이유
- cmdline-tools 컴포넌트가 누락됨
- Android 라이선스 상태가 알 수 없음
✗ cmdline-tools component is missing 해결
AndroidStudio 실행
Setting -> Languages & Frameworks -> Android SDK -> SDK Tools 탭 클릭 -> Android SDK Command-line Tools
체크 후 Apply
✗ Android license status unknown. 해결
flutter doctor --android-licenses
터미널 실행 후 아래 명령어 실행하고 전부 y 해주면 된다.