selfstarter

Your launch config references a program that does not exist 본문

App/Flutter

Your launch config references a program that does not exist

selfstarter 2020. 8. 9. 17:30

Your launch config references a program that does not exist.

전날만 해도 잘되던 flutter 프로젝트가 flutter run을 실행해도 실행이 되지 않고 아래 에러가 나왔다
flutter clean, flutter update-pakages 를 해도 안되었다.
검색해보니 FileNotFoundException이 난 아래 위치의 signing-config.json 파일을 삭제하면 해결되었다.
왠지 모르겠지만 옆에 글자가 깨진건 엑세스 에러 였던듯.. 한글 왜 깨지지?
아무튼 파일 삭제 후 해결

E:\HobbyCoding\flutter\examples\hello_world\build\app\intermediates\signing_config\debug\out\signing-config.json

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > java.io.FileNotFoundException: E:\HobbyCoding\flutter\examples\hello_world\build\app\intermediates\signing_config\debug\out\signing-config.json (�׼����� �źεǾ����ϴ�)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)


Your launch config references a program that does not exist.
If you have problems launching, check the program field in your .vscode/launch/json
Comments