본문 바로가기
IT/Flutter

플러터닥터 Exception: Bad UTF-8 encoding 에러 해결법

by 이우블로그 2022. 6. 10.

Visual Studio를 설치한 후 플러터 닥터를 돌리면 

 

[☠] Visual Studio - develop for Windows (the doctor check crashed)
    X Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know
      about this issue at https://github.com/flutter/flutter/issues.
    X Exception: Bad UTF-8 encoding (U+FFFD; REPLACEMENT CHARACTER) found while decoding string: [
        {

.

.

.

막 이런 해골마크에 섬찟한 에러가 종 종 생깁니다.

 

 

이는 vswhere 버그라고 하네요.

해결방법은 다음과 같습니다.

 

1. https://github.com/microsoft/vswhere/releases 이 주소를 클릭하고 들어갑니다.

 

2. 화살표 표시한 것과 같이 제일 상단의 가장 최신버전의 vswhere.exe를 다운로드 받습니다.

 

 

3. C:\Program Files (x86)\Microsoft Visual Studio\Installer 폴더에 2번에서 다운로드 받은 vswhere.exe 를 덮어씌우기 합니다.

 

 

 

해결 됨.

 

 

 

 

댓글