커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
스스로 해결
[IDE 설치하기] * IDE : 소프트웨어 애플리케이션
[왕초보] 플러터(Flutter)로 시작하는 앱개발 종합반 v0
1주차
북마크
하*안
댓글
6
추천
0
조회수
19
조회수
19
스스로 해결

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

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


[IDE 설치하기] * IDE : 소프트웨어 애플리케이션

4) Android Licenses


  1. 문제를 해결하기 위해 flutter doctor --android-licenses를 복사해서 실행해 줍니다.
  2. 실행하면 라이센스에 대한 동의를 여러번 구하는데, y를 입력하고 엔터를 눌러 진행해줍니다.
  3. (여기서 오류가 났습니다)


flutter doctor라고 입력한 뒤 엔터를 누릅니다. 아래와 같이 Android toolchain의 좌측에 [!] 표시가 되어있습니다.


보고 계신 화면

스파르타 즉문즉답

전체를 캡처해 주시면, 튜터님들이 빠르게 상황을 이해할 수 있어요.




작성한 코드 및 에러 메세지

Microsoft Windows [Version 10.0.19045.2965]

(c) Microsoft Corporation. All rights reserved.


C:\Users\HA>flutter doctor

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

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

[√] Flutter (Channel stable, 3.3.2, on Microsoft

  Windows [Version 10.0.19045.2965], locale ko-KR)

[!] Android toolchain - develop for Android devices

  (Android SDK version 34.0.0)

  X Android license status unknown.

   Run `flutter doctor --android-licenses` to

   accept the SDK licenses.

   See

   https://flutter.dev/docs/get-started/install/win   dows#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.77.3)

[√] Connected device (3 available)

[√] HTTP Host Availability


! Doctor found issues in 2 categories.


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

��: ⺻ Ŭ com.android.sdklib.tool.sdkmanager.SdkManagerCli��() εϴ LinkageError ߻߽��ϴ.

    java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0


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

��: ⺻ Ŭ com.android.sdklib.tool.sdkmanager.SdkManagerCli��() εϴ LinkageError ߻߽��ϴ.

    java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0


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

��: ⺻ Ŭ com.android.sdklib.tool.sdkmanager.SdkManagerCli��() εϴ LinkageError ߻߽��ϴ.

    java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0


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

��: ⺻ Ŭ com.android.sdklib.tool.sdkmanager.SdkManagerCli��() εϴ LinkageError ߻߽��ϴ.

    java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0


C:\Users\HA>y

'y'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는

배치 파일이 아닙니다.


C:\Users\HA>


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