2022년 10월 31일 월요일

[문제해결] Android Studio 가 app 을 실행하지 않는다.


증상:

- 안드로이드 스튜디오에서 앱을 실행하면 설치는 되는데 아래와 같이 logcat 로그가 있고 앱은 실행하지 않는다.

 

2022-10-31 14:09:25.302  5891-5891  studio.deploy           pid-5891                             E  Could not remove dir '/data/data/kr.myapp/code_cache/.ll/': No such file or directory

 

해결:

- 참고: https://issuetracker.google.com/issues/243496470#comment23

 

실행 설정 확인 (Run Configuration)

 




Launch Options 확인


원인:

- 프로젝트 생성시 No Activity 로 하여 기본 설정이 Nothing 으로 설정된 경우 였음

- 증상에 나오는 로그는 문제 해결 후에도 실행할 때 뜨는 것을 확인함