flutter doctor
์คํํ๊ณ ๋ค์ Visual Studio ๊ด๋ จ ์ค๋ฅ ๋ฉ์์ง๋ฅผ ๋ฐ์ต๋๋ค.
[โ] Flutter (Channel master, v1.10.15-pre.405, on Microsoft Windows [Version 10.0.18362.418], locale en-US)
โข Flutter version 1.10.15-pre.405 at c:\Users\csell\flutter
โข Framework revision 28b5cc3825 (4 hours ago), 2019-11-05 11:50:30 +0100
โข Engine revision 7b968ff95f
โข Dart version 2.7.0
[โ] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
โข Android SDK at C:\Users\csell\AppData\Local\Android\sdk
โข Android NDK location not configured (optional; useful for native profiling support)
โข Platform android-29, build-tools 29.0.2
โข Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
โข Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
โข All Android licenses accepted.
[!] Visual Studio - develop for Windows (Visual Studio Community 2019 16.3.7)
โข Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
โข Visual Studio Community 2019 version 16.3.29424.173
X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components:
MSBuild
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple versions, install the latest one
Windows 10 SDK (10.0.17763.0)
[!] Android Studio (version 3.5)
โข Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
โข Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
[โ] VS Code (version 1.39.2)
โข VS Code at C:\Users\csell\AppData\Local\Programs\Microsoft VS Code
โข Flutter extension version 3.5.1
[โ] Connected device (1 available)
โข Windows โข Windows โข windows-x64 โข Microsoft Windows [Version 10.0.18362.418]
! Doctor found issues in 2 categories.
VS 2019 cmd ํ๋กฌํํธ์ฉ x64 ๊ธฐ๋ณธ ๋๊ตฌ ๋ช
๋ น ํ๋กฌํํธ๋ฅผ ์คํํ๋ฉด ๋ช
๋ น์ค์์ ๋ค์ํ MSVC ๋๊ตฌ(์: msbuild)๋ฅผ ์ฌ์ฉํ ์ ์์ง๋ง flutter doctor
๋ ๋ฌ๋ ์ ์์ต๋๋ค.
์คํฌ๋ฆฐ์ท์ ํ์ SDK ๋ฒ์ ์ด ์ ํ๋์ง ์์ ๊ฒ์ผ๋ก ํ์๋๋ฏ๋ก doctor
๋์ด๋ ํ์ ๊ตฌ์ฑ ์์ ์ค ํ๋๊ฐ ๋๋ฝ๋์์ต๋๋ค.
๋ถ๋ช ํ VS 2019์์๋ ์ ํํ ๋ฒ์ ๋์ "10.0"์ผ๋ก ๋ฒ์ ์ ์ค์ ํ ์ ์์ต๋๋ค. ์ฐ๋ฆฌ๋ 2019๋ ์ ์๊ตฌํ ์ ์์ต๋๋ค. ๊ทธ๋ ๊ฒ ํ๋ ค๋ฉด 2019๋ ์ด ํ์ํฉ๋๋ค. ์ด๊ฒ์ด ๊ณ ํต์ค๋ฌ์ด ์ ์ด์๊ณ ์์ผ๋ก๋ ๊ณ์ ๋ ๊ฒ์ด๊ธฐ ๋๋ฌธ์ ๋๋ค.
๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ ค๋ฉด ์ด๋ป๊ฒ ํด์ผ ํ๋์?
"Windows 10 SDK(10.0.17763.0)"๋ผ๋ ๊ตฌ์ฑ ์์๋ฅผ ์ค์นํด์ผ ํฉ๋๋ค.
๋ถํํ๋ "์ต์ SDK"์ ๋ํ ์ผ๋ฐ ๊ตฌ์ฑ ์์ ID๊ฐ ์๋ ๊ฒ ๊ฐ์ผ๋ฏ๋ก 10.0์ผ๋ก ์ค์ ํ๊ณ vswhere
์ฟผ๋ฆฌ๋ฅผ ์ํํ๋ VS 2019๊ฐ ํ์ํ๋๋ผ๋ ๋ชจ๋ Windows์ ๋ํด ๋๊ตฌ ์
๋ฐ์ดํธ๊ฐ ํ์ํฉ๋๋ค. SDK ๋ฆด๋ฆฌ์ค.
๊ทธ๋ฐ ๋ค์ ๋ฒ๊ทธ๋ flutter doctor
๊ฐ ๋ ๊ฐ์ง ์์
์ ์ํํ๋๋ก ๋งํ๋ ๊ฒ์
๋๋ค.
์ต์ ์ค์น์ ๋ํ ๋ผ์ธ์ SDK๊ฐ ์๋ ๋น๋ ๋๊ตฌ์ ๊ด๋ จ์ด ์์ต๋๋ค. ๊ทธ๊ฒ์ ํ์์์ ๋ถ๋ช ํด์ผํ์ง๋ง ๋ค์ฌ ์ฐ๊ธฐ๊ฐ ์๋ง์ธ ๊ฒ์ฒ๋ผ ๋ณด์ ๋๋ค.
๋ค์ฌ์ฐ๊ธฐ๋ฅผ ์์ ํ๊ณ , ๋ค์ฌ์ฐ๊ธฐ์ ๊ด๊ณ์์ด ํผ๋์ด ๋ฐ์ํ์ง ์๋๋ก ๋น๋ ๋๊ตฌ๋ฅผ ํด๋น ์ค์ ๋ค์ ๋ช ์์ ์ผ๋ก ์ธ๊ธํด์ผ ํฉ๋๋ค.
์ด ํผ๋์ ํผํ๊ธฐ ์ํด ํ ์คํธ๊ฐ ๊ฐ์ ๋์์ผ๋ฏ๋ก ๋ซ์ต๋๋ค. #50487์ ์ด ์ผ๋ฐ์ ์ธ ๋ฌธ์ ๋ฅผ ํผํ๊ธฐ ์ํด ํน์ SDK ๋ฒ์ ์ ๋ํ ํ์์ฑ์ ์์ ํ ์ ๊ฑฐํ๋ ค๋ ์๋๋ฅผ ์ถ์ ํฉ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
"Windows 10 SDK(10.0.17763.0)"๋ผ๋ ๊ตฌ์ฑ ์์๋ฅผ ์ค์นํด์ผ ํฉ๋๋ค.