본문 바로가기

프로그래밍

Flutter no devices 해결기

반응형

분명히 어제는 안그랬는데

하루 아침에 intelij에서 no devices 라고 한다

 

intelij flutter no devices

화가남

 

 

 

 

 

 

갑자기 생각난 flutter doctor

혹시나하고 flutter doctor가 생각나서 

flutter doctor -v

터미널에 입력하고 엔터 했더니

 

 

 

 

 

 

flutter doctor

플러터 의사 선생님이 문제를 알려주신다

 

 

 

 

[☠] Android toolchain - develop for Android devices (the doctor check crashed) ✗ 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. ✗ Exception: Android toolchain - develop for Android devices exceeded maximum allowed duration of 0:04:30.000000 •

[☠] Xcode - develop for iOS and macOS (the doctor check crashed) ✗ 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. ✗ Exception: Xcode - develop for iOS and macOS exceeded maximum allowed duration of 0:04:30.000000 •

flutter doctor 문제점 이슈

 

android 와 xcode 문제가 동시 발생한다

 

 

Chat GPT 답변은

flutter doctor가 Android/Xcode 체크하다가 타임아웃(4분 30초 초과) 나서 죽은 겁니다.
즉, Flutter 자체보다는 보통 아래 원인 중 하나예요.

Android SDK/adb 응답 멈춤 Xcode CLI tools 꼬임 에뮬레이터 무한 대기 라이선스 체크 멈춤 Java 버전 충돌 PATH 환경변수 꼬임 Flutter cache 손상

 

 

 

혹시나 해서 xcode을 켜보았다

installing system components 창이 나오고

사용자 인증을 위해 지문을 가져다 대니 설치하니까

 

intelij flutter devices

해결됨...

아마도 Mac App store에서 XCode을 업데이트 하고 켜서 업데이트를 안해서 그런듯 하다

반응형