-
[Flutter] 초간단 오류 해결법 Android toolchain - develop for Android devices (Android SDK version 34.0.0)카테고리 없음 2024. 4. 10. 05:06
1.
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
X cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
위 2가지의 오류를 해결해보자.
1)
X cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
> 해결법
안드로이드 스튜디오 More Actions > SDK Manager > SDK Tools > Android SDK Command-line Tools (latest) 체크 > Apply
2)
X Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
> 해결법
위의 1) 방법 적용 완료 후 > 윈도우 키 > CMD > flutter doctor --android-licenses 입력 > 전부 y