-
[Flutter] VS Code에서 F5로 실행하는데 구동중에 갑자기 실행되지 않고 어떠한 에러 메시지도 없이 중지 되버리는 경우flutter 파헤치기 2024. 2. 29. 11:17
1. VS Code Ctrl+Shift+P Flutter: Select Device 선택해서 Pixcel_3a_API_34 를 선택한다. (참고.Android Studio > SDK Manager에서 SDK Platforms 에 Android 14.0 API Level 34로 설치한 것 확인할 수 있음)
2. VS Code에서 F5로 실행하는데 구동중에 갑자기 실행되지 않고 어떠한 에러 메시지도 없이 중지 되버리는 경우가 발생한다.
3. 에러를 찾기 위해서 flutter run 으로 해 보면 콘솔에 찍히는 에러를 볼 수 있다.
4. 에러 내용을 보면 경로에 깨진 문자로 link 에러를 확인할 수 있다.
5. Device를 크롬 브라우저로 했을 때는 한글 경로도 문제없이 실행된다.
6. 하지만 Pixel device를 선택했을 때 프로젝트 경로에 한글이 들어가면 lint 에러가 발생한다. 어이가 없다.
7. 한글경로를 빼고 다시 프로젝트를 만들면 해결된다.
'flutter 파헤치기' 카테고리의 다른 글
[Flutter] Flutter Widget Inspector (0) 2024.02.29 [Flutter] 안드로이드와 iOS 두 개를 나눠서 개발해야 할까요? (0) 2024.02.27 Firebase Authentication 구글, 네이버, 카카오 인증 (0) 2024.02.21 [Flutter]flutter_local_notifications 와 firebase_messaging 플러그인 차이점은 무엇인가? (0) 2024.02.19 [Flutter]플랫폼별 기능 통합을 위한 플러그인 및 패키지는 어떤것이 있는가? (0) 2024.02.19