Error type 3: Activity class {xxxx.MainActivity} does not exist.



package rename 후 빌드는 정상적으로 되나, app 실행 안되는 현상


$ adb shell am start -n "com.x.y.z/com.c.b.a.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER

Error while executing: am start -n "com.x.y.z/com.c.b.a.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER

Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.x.y.z/com.c.b.a.MainActivity }

Error type 3

Error: Activity class {com.x.y.z/com.c.b.a.MainActivity} does not exist.


Error while Launching activity 



1. Android Studio 종료
2. .idea Directory  삭제
3. .iml 확장자 파일 삭제
4. Android Studio 재시작


http://1004lucifer.blogspot.com/2015/03/intellij-build-apk.html

+ Recent posts