반응형
다음과 같이 "Android licenses not accepted" 관련 에러가 발생하면, 해당 이슈에 대한 해결방법에 대해 알려드립니다.
Microsoft Windows [Version 10.0.19045.3448]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\system32>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.24.5, on Microsoft Windows [Version 10.0.19045.3448], locale ko-KR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[√] Chrome - develop for the web
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2024.2)
[√] Connected device (3 available)
[√] Network resources
! Doctor found issues in 2 categories.
이슈:
Android toolchain - develop for Android devices (Android SDK version 34.0.0)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
해결법:
C:\Windows\System32>flutter doctor --android-licenses
Warning: Errors during XML parse:
Warning: Additionally, the fallback loader failed to parse the XML.ry...
[=======================================] 100% Computing updates...
4 of 7 SDK package licenses not accepted.
Review licenses that have not been accepted (y/N)? y
전부다 "y"로 진행합니다.
반응형
'앱 > Flutter' 카테고리의 다른 글
[Flutter] "?" 연산자의 의미? (0) | 2025.01.04 |
---|---|
[Flutter] Flutter에서 =>(표기법) 의미는 무엇일까? (0) | 2024.12.12 |