프로그래밍 농장

no connected devices found; please connect a device, or see flutter.dev/setup for getting started instructions. 에러 해결법[flutter] 본문

flutter [Darts]

no connected devices found; please connect a device, or see flutter.dev/setup for getting started instructions. 에러 해결법[flutter]

Tennessee201 2021. 11. 24.
728x90

처음 안드로이드 스튜디오에서 flutter 프로젝트를 avd 환경에서 실행시키려하면 아래와 같은 에러메세지가 발생하는 경우가 다수있다.

 

not applicable for the main.dart configuration 혹은

no connected devices found; please connect a device, or see flutter.dev/setup for getting started instructions.

 

sdk 및, flutter_console에서  doctor를 통하여 정상적으로 연동되고, 환경변수까지 정확히 맞추어 주었는데도 에러메세지가 발생하는 경우의 해결법이다 .


 File -> Project Structure 클릭

 

No SDK로 되어있을경우 가상머신의 API에 맞게 선택 후 Apply

 

이후 avd manager 에서 동일하게 설치된것 확인 or 설치

이후 avd manger를 실행해보면 정상적으로 구동되는것을 확인할수있다. 


실행시 아래 초록점은 정상실행중일경우 나타나는 아이콘이며 아래와 같이 replace 되었다.

728x90