-
[안드로이드] Activity class { ... } does not exist안드로이드(java)/에러 관련 2019. 10. 16. 09:42
Activity class { ... } does not exist
activity class를 찾을 수 없다는 에러를 만나게 되었습니다. 중괄호 안의 ... 은 해당하는 경로구요.
에러를 마주하신 분들마다 경로는 다 다르기 때문에 ...으로 표시 하였습니다.
저 같은경우에는 잘 되던 프로젝트 였는데 프로젝트 폴더의 위치를 다른곳으로 변경 한 후 다시 임포트 해서 앱 빌드 해보니까 저러한 에러가 나왔었습니다.
그래서 clean project, rebuild project, invalidate caches / restart 를 해도 해결이 안되어서 이걸로는 해결 되지 않는 문제임을 파악하고 다른 방법을 찾아봤습니다.
에러가 나타난 원인 : 에뮬레이터에는 기존 경로에서 빌드한 앱이 있는 상태였고 새로운 경로로 이동 한 다음에 앱 빌드를 했을 때 나타난 문제였기 때문에 에뮬레이터에 있는 앱을 uninstall 하고 다시 앱 빌드를 해보니 이상없이 잘 빌드 되었습니다.
'안드로이드(java) > 에러 관련' 카테고리의 다른 글