왕논의 연구실

추가 설치 본문

강의/코딩 왕초보를 위한 앱 만들기 풀 패키지

추가 설치

ywangnon 2022. 9. 22. 11:38

강의에는 안 나왔지만 찾아보니 설치해야 할 것 같은 게 있다.

 

flutter doctor 입력하면

이게 뜬다.

 

강의 화면에는 안 나와서 찾아보니 C++ 개발용으로 필요한듯하다.

 

Visual Studio Tools 다운로드 - Windows, Mac, Linux용 무료 설치 (microsoft.com)

 

Visual Studio Tools 다운로드 - Windows, Mac, Linux용 무료 설치

Visual Studio IDE 또는 VS Code를 무료로 다운로드하세요. Windows 또는 Mac에서 Visual Studio Professional 또는 Enterprise Edition을 사용해 보세요.

visualstudio.microsoft.com

 

커뮤니티용으로 다운받고 실행하면 인스톨러가 실행되는데 C++ 데스크탑용을 설치하면 된다.

 

그러면 여전히 vscode를 인식 못 하지만, vscode에서 만든 샘플앱이 실행된다.

 

vscode 인식 안되는 원인?

찾아봤지만 명쾌하게 설명하는 곳은 없는 듯 하다.

 

Flutter Doctor is not detecting Visual Studio Code on my PC - Stack Overflow

 

Flutter Doctor is not detecting Visual Studio Code on my PC

I just installed flutter on my Windows 10 system. I had Visual Studio Code v1.26.1 installed previously on my system. But whenever I run flutter doctor from the Git Bash, I notice VS Code is not de...

stackoverflow.com

 

그나마 여기 설명이 나오는데, 기본 루트에 설치를 안하면 인식하지 못한다고 한다.

 

찾아보니 마이크로소프트는 대부분의 프로그램을 c드라이브에 설치하기를 권장한다고 한다. 예상치 못한 문제가 발생할 수도 있다고 하는데 정확히는 모르겠다.

 

flutter/vscode.dart at 217b2bdaa18de2bfddf213bc920b1337e77f1be3 · flutter/flutter (github.com)

 

GitHub - flutter/flutter: Flutter makes it easy and fast to build beautiful apps for mobile and beyond

Flutter makes it easy and fast to build beautiful apps for mobile and beyond - GitHub - flutter/flutter: Flutter makes it easy and fast to build beautiful apps for mobile and beyond

github.com

이건 flutter가 vscode를 인식하는 코드인 것 같은데, window쪽을 보면 programfiles쪽으로 되어 있다.

 

정확한 이유를 모르니 일단 찾아본 자료는 다 올려봤다.

'강의 > 코딩 왕초보를 위한 앱 만들기 풀 패키지' 카테고리의 다른 글

설치 & 환경 세팅  (0) 2022.09.20
기획  (0) 2022.09.20