Computer Science/Flutter

[Android Studio] device selection์— virtual device ์•ˆ๋œจ๋Š” ์ด์Šˆ ๐Ÿ˜ซ (ํ•ด๊ฒฐ ํฌํ•จ)

_cactus 2023. 6. 22. 11:27
๋ฐ˜์‘ํ˜•

Device Manager์—์„œ virtual device ๊นŒ์ง€ ๋‹ค ์„ค์น˜ํ–ˆ๋Š”๋ฐ device selection์— ๋„๋ฌด์ง€!!! ๋œจ์งˆ ์•Š์•„์„œ ๋นŒ๋“œ๋ฅผ ํ•ด๋ณผ ์ˆ˜๊ฐ€ ์—†์—ˆ๋‹ค ใ… ใ… ใ… 

์ง„์งœ ๊ฑฐ์˜ ๋ช‡์ผ์„ ๊ณ ์ƒํ–ˆ๋Š”๋ฐ.. ์ •๋ง ํ„ฐ๋ฌด๋‹ˆ ์—†๋Š” ์ด์Šˆ์˜€๋”ฐ๋Š”....ใ…Ž

 

flutter doctor

 

์šฐ์„  ๋‹ค๋“ค ์ด๊ฑฐ ํ•œ๋ฒˆ๋งŒ ๋Œ๋ ค๋ณด์„ธ์š”...

์—ฌ๊ธฐ์„œ ์˜ค๋ฅ˜๊ฐ€ ์žˆ์œผ๋ฉด ์•ˆ๋ฉ๋‹ˆ๋‹ค!

 

Unable to locate Android SDK

 

์ €๋Š”  Unable to locate Android SDK (android sdk ๊ฒฝ๋กœ ์„ค์ •์ด ์ œ๋Œ€๋กœ ์•ˆ๋˜์–ด์žˆ๋‹ค) ๊ณ  ์˜ค๋ฅ˜๊ฐ€ ๋œจ๋”๋ผ๊ตฌ์š”

 

"android sdk ๊ฒฝ๋กœ๊ฐ€ ์–ด๋””์ง€..?" ์‹ถ์œผ์‹  ๋ถ„๋“ค์€

์•„๋ž˜ ๋นจ๊ฐ„ ๋ฐ•์Šค ํด๋ฆญํ•˜๋ฉด

์ด๋ ‡๊ฒŒ ๊ฒฝ๋กœ๋ฅผ ์•Œ๋ ค์ค€๋‹ต๋‹ˆ๋‹ค~!

๋ฐ˜์‘ํ˜•

๊ฒฝ๋กœ๊ฐ€ ํ™•์ธ๋˜์…จ๋‹ค๋ฉด, 

ํ„ฐ๋ฏธ๋„์— ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•ด์ฃผ์–ด ๊ฒฝ๋กœ ์ง€์ •์„ ํ•ด์ฃผ์„ธ์š”!

flutter config --android-sdk [android sdk ๊ฒฝ๋กœ]

๊ทธ๋ฆฌ๊ณ  ๋‚˜์„œ ํ•˜๋‚˜ ๋” ๋ช…๋ น์–ด ์ž…๋ ฅํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค!

flutter doctor --android-licenses

๋ฅผ ์‹คํ–‰ํ•ด์ฃผ์„ธ์š”

 

๋งˆ์ง€๋ง‰์œผ๋กœ android studio ์—๋””ํ„ฐ๋ฅผ ๊ป๋‹ค ํ‚ค๋ฉด  ๋~!

 

device selection์—์„œ ๋“œ๋””์–ด!! ๋‚˜์˜ virtual device๋“ค์„ ํ™•์ธํ•˜์‹ค ์ˆ˜ ์žˆ๊ณ  ๋นŒ๋“œ๊ฐ€ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค!! ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰

 

์ด์ƒ ๋„์›€์ด ๋˜์…จ๊ธธ ๋ฐ”๋ผ๋ฉฐ.. ์ด์ด..

 

 

 

์ฐธ๊ณ >

- https://highheat.tistory.com/732

- https://stackoverflow.com/questions/25176594/android-sdk-location

728x90
๋ฐ˜์‘ํ˜•