새소식

반응형
개발기록/Flutter

Error: Entry point is not within the current project

  • -
반응형

flutter 책을 보면서 예시를 따라하는 중이였다.

이미지를 넣기 위해서 pubspec.yaml을 수정을 했다.

수정 후 pub get을 실행 후 앱 재기동을 했다.

소스 수정 후에 에뮬을 기동시키고 run을 했는데

바로 실행이 되지 않고, edit configuration 창이 뜨는 것

창 맨 아래에는 Error: Entry point is not within the current project 에러 발생

"진입점이 현재 프로젝트에 없습니다"

구글링을 해보니 여러 답변이 있었다

실패(위와 같은 현상 반복)
1. 에뮬을 종료 후 앱 재기동
2. 에뮬에 저장된 플러터 어플들 삭제 후 재기동

성공
project 내에 .idea 제거
해당 프로그램을 종료 후 다시 시작하면 됨

참고

https://stackoverflow.com/questions/57000043/error-entrypoint-isnt-within-the-current-project

https://stackoverflow.com/questions/17049416/what-is-the-idea-folder

 

What is the .idea folder?

When I create a project in JetBrains WebStorm, a folder called .idea gets created. Is it okay if I delete it? Will it affect my project?

stackoverflow.com

 

반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.