![[Flutter] 플러터 3.0 + VisualStudio2022 설치시 Bad UTF-8 에러 해결](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbQDBpI%2FbtrCz0wMSbe%2FN8zfLto3MBwYLThGfvczjk%2Fimg.png)
안녕하세요, 반나무입니다.
플러터 3.0을 설치하고 flutter doctor 명령어를 실행하면 Visual Studio Bad UTF-8 endcoding 에러가 나는데
visual 2019에서는 보이지 않던 문제여서 여기저기 검색해봤습니다.
[windows] Exception: Bad UTF-8 encoding when running flutter doctor or building/running for Windows · Issue #102451 · flutter/
Steps to Reproduce Set your windows locale to german Install the Visual Studio 2022 Build Tools Install the latest flutter beta (beta, 2.13.0-0.2.pre) Run flutter doctor > Temporary solution Log...
github.com
위 github issue에서 같은 문제를 찾았고 해결 방법까지 찾았습니다.
해결 방법
Releases · microsoft/vswhere
Locate Visual Studio 2017 and newer installations. Contribute to microsoft/vswhere development by creating an account on GitHub.
github.com
지금 문제는 VisualStudio 2022에서 지역에 따른 인코딩문제며, 위 글에서 파일을 다운받아
C:\Program Files (x86)\Microsoft Visual Studio\Installer
경로에 다운받은 파일을 붙여넣어줍니다.
그러면 아래처럼 flutter doctor 통과!
'사용하지않는공간 > Flutter' 카테고리의 다른 글
[책 후기] Doit! 플러터 앱 프로그래밍 - Flutter 2.0 개정판 (0) | 2022.08.26 |
---|---|
[Flutter] Flutter 3.0 프로젝트 시작 시 자주 나오는 에러 정리 (0) | 2022.08.26 |
[Flutter] Node.js를 통한 Flutter 3.0 + Firebase 연동하기 (0) | 2022.08.06 |
[Flutter] 플러터 appbrewery 강좌 후기 (0) | 2022.06.06 |
3년차 WPF 개발자입니다.
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!