커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
android studio 설치후 flutter doctor 명령후 android - licenses 명령후 에러
앱개발 종합반 - 플러터 v8
1주차
북마크
김*웅
댓글
15
추천
0
조회수
43
조회수
43
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


C:\Users\kwater>flutter doctor

Running "flutter pub get" in flutter_tools...           12.0s

Doctor summary (to see all details, run flutter doctor -v):

[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [Version 10.0.22000.1455], locale ko-KR)

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.1)

  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.

[√] Chrome - develop for the web

[X] Visual Studio - develop for Windows

  X Visual Studio not installed; this is necessary for Windows development.

   Download at https://visualstudio.microsoft.com/downloads/.

   Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2021.3)

[√] VS Code (version 1.74.3)

[√] Connected device (3 available)

[√] HTTP Host Availability


! Doctor found issues in 2 categories.


C:\Users\kwater>


C:\Users\kwater>flutter doctor --android-licenses


ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk-18.0.2.1


Please set the JAVA_HOME variable in your environment to match the

location of your Java installation.


C:\Users\kwater>










취소
 공유
취소
댓글 0
댓글 알림
나의얼굴