커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
NO JDK
[왕초보] 플러터(Flutter)로 시작하는 앱개발 종합반 v0
1주차
북마크
이*현
댓글
11
추천
0
조회수
37
조회수
37
답변 완료




명령 프롬프트에서 flutter doctor를 쳤는데 No Java Development Kit가 떴어요 JDK 검색해서 번들 설치했는데 안돼요





작성한 코드 및 에러 메세지

C:\Users\lalatree>flutter doctor

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

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

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

  X No Java Development Kit (JDK) found; You must have the environment variable JAVA_HOME set and the java binary in

   your PATH. You can download the JDK from https://www.oracle.com/technetwork/java/javase/downloads/.

[√] 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 2022.2)

  X Unable to find bundled Java version.

[√] VS Code (version 1.79.1)

[√] Connected device (3 available)

[√] HTTP Host Availability


! Doctor found issues in 3 categories.


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


ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.


Please set the JAVA_HOME variable in your environment to match the

location of your Java installation.

오류 발생 시, 작성한 코드 전체와 에러 메시지를 첨부해 주세요.

Tip 1) </> 아이콘을 눌러 코드박스를 만들어 보세요.

Tip 2) Ctrl+A(맥의 경우 Command+A) 단축키로 코드를 한 번에 선택할 수 있어요!




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