Red Glitter Pointer

 

 

flutter sdk가 잘 설치되어 있는지 확인하기 위해 cmd 창에 아래와 같이 입력했을 때,

flutter doctor

 

위와 같은 문구가 출력되었다.

 

[!] Android toolchain 은 라이선스 항목에 동의가 이뤄지지 않았다는 뜻이므로 동의를 진행해주기 위해

flutter doctor --android-licenses

 

명령어를 작성했지만 아래와 같은 에러가 떴다.

 

Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this.

 

 

 

아래와 같은 방법으로 해결 완료 !!


1. 안드로이드 스튜디오 실행 뒤 SDK Manager 실행

 

2. [Android SDK] 클릭 -> [SDK Tools] 하단의 Android SDK Command-line Tools(latest) 체크박스에 ✅ 체크! 설치 및 적용을 해주면 된다.

 

3. 설치 완료 후 명령어 재실행

flutter doctor --android-licenses

 

Android toolchain 관련 이슈가 사라진 것을 확인할 수 있다!!

+ Recent posts

loading