Inflearn brand logo image

인프런 커뮤니티 질문&답변

김민성님의 프로필 이미지
김민성

작성한 질문수

바이브코딩으로 만드는 게임 웹페이지

Flutter SDK 와 환경변수의 이해와 설치

강의 듣는 중 얻은 경험 공유.

해결된 질문

작성

·

30

·

수정됨

1

계정의 환경 변수 편집중에 여러번 경로를 적었음에도 확인이 되도 저장되지 않는 이슈가 있었음.
-> 저장이 확실히 되었는지 체크하세요.

그래도 안 되면 재부팅 하시는 걸 추천

-> 그래도 안 되면 gpt와 함께 진행 후 선생님께 질문 하면 되지 않을까 싶습니다.

당황했던 경험 공유.
cmd에서 flutter --version을 하시면 의존성 설치하더라구요 이것도 놀라지 마시라고 같이 공유드려요.

 

개발을 처음하는 사람이기에 제가 맞이한 문제도 공유

cmd에 flutter doctor를 이용 했을 때
[!] Android toolchain - develop for Android devices (Android SDK version 36.0.0) X cmdline-tools component is missing. Try installing or updating Android Studio. Alternatively, download the tools from https://developer.android.com/studio#command-line-tools-only and make sure to set the ANDROID_HOME environment variable. See https://developer.android.com/studio/command-line for more details. X Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/to/windows-android-setup for more details.
--------------
[!] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.46) X The current Visual Studio installation is incomplete. Please use Visual Studio Installer to complete the installation or reinstall Visual Studio.

이렇게 두 개의 문제가 있었음.

1. Android Studio에서
Android SDK Command-line Tools(Latest)와 Android SDK Platform-Tools를 깔았음.

2. 라이선스 미동의가 있기에 다음과 같이 했음.
cmd에 flutter doctor --android-licenses -> 동의하지 않은 review들을 보여주며 y를 누르라고 하기에 y들을 눌렀음.

3. visual studio 윈도우 앱개발관련 visual studio 설치인데 시작메뉴에서 Visual Studio Installer을 검색후 Build Tools 2019라는 버튼을 다운로드 받았음.
Desktop development with c++은 꼭 체크하라고 하더라고 그럼 다들 강의끝까지 ㅎㅇㅌ

 

답변 1

0

slu님의 프로필 이미지
slu
지식공유자

정리 감사드립니다.

김민성님의 프로필 이미지
김민성

작성한 질문수

질문하기