2023년 6월 28일 수요일

Google Flutter 설정 시 만나는 오류 해결

간만에 해서 다 까먹었다..

그래도 솔직히..

설정이야 절라 쉬운데..

젤 골때렸던거 2가지


flutter doctor 시 오류 중...


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

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


1 번은... sdkmanager를 못 찾는건데.. 안드로이드 스튜디오에서 sdk 관련 도구들을 설치해 주라는 것도 다 해봤지만 계속 발생하다가.. 결국 알아낸건..안드로이드 SDK 경로를 지정해 주니 해결됨.

flutter config --android-sdk sdk설치경로
flutter config -android-studio-dir 안드로이드 스튜디오 설치경로
2 번은 굳이 비주얼 스튜디오를 깔고 싶지 않았기에.. 다음과 같이 명령어 입력
flutter config --no-enable-windows-desktop

진짜 간만에 해서리.. 다시 고생 중...


댓글 없음:

댓글 쓰기

[낯선] 2025.02.22 우대락 공연

2025.02.22 우대락 공연 Set List 1. Black Pumas - Colors Covered By 낯선 2. Gate Flowers - 예비역 Covered By 낯선 3. 하동균 - From Mark Covered By 낯선 4. 낯선 ...