안드로이드 가이드 프로그램 문의입니다.
- 작성자 :
- 김*중
- 작성일 :
- 2013-06-17 13:20:56
- 조회수 :
- 1,098
- 구분 :
- 모바일
- 진행상태 :
- 완료
Q
테스트를 해보려고 했는데 잘 되지않습니다.
어떻게 해야하나요?
아래와 같은 에러가 log켓에서 보여지고
에뮬레이터에는 unfortunately, CameraAPIGuid_Android has stopped.라는 메세지가 보여지고 실행이 되지 않습니다.
06-17 04:17:10.398: E/AndroidRuntime(775): FATAL EXCEPTION: main
06-17 04:17:10.398: E/AndroidRuntime(775): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{kr.go.egovframework.hyb.cameraapi/kr.go.egovframework.hyb.cameraapi.CameraAPIGuide_AndroidActivity}: java.lang.ClassNotFoundException: Didn't find class "kr.go.egovframework.hyb.cameraapi.CameraAPIGuide_AndroidActivity" on path: /data/app/kr.go.egovframework.hyb.cameraapi-2.apk
06-17 04:17:10.398: E/AndroidRuntime(775): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2106)
06-17 04:17:10.398: E/AndroidRuntime(775): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
06-17 04:17:10.398: E/AndroidRuntime(775): at android.app.ActivityThread.access$600(ActivityThread.java:141)
06-17 04:17:10.398: E/AndroidRuntime(775): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
06-17 04:17:10.398: E/AndroidRuntime(775): at android.os.Handler.dispatchMessage(Handler.java:99)
06-17 04:17:10.398: E/AndroidRuntime(775): at android.os.Looper.loop(Looper.java:137)
06-17 04:17:10.398: E/AndroidRuntime(775): at android.app.ActivityThread.main(ActivityThread.java:5041)
06-17 04:17:10.398: E/AndroidRuntime(775): at java.lang.reflect.Method.invokeNative(Native Method)
06-17 04:17:10.398: E/AndroidRuntime(775): at java.lang.reflect.Method.invoke(Method.java:511)
06-17 04:17:10.398: E/AndroidRuntime(775): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
06-17 04:17:10.398: E/AndroidRuntime(775): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
06-17 04:17:10.398: E/AndroidRuntime(775): at dalvik.system.NativeStart.main(Native Method)
06-17 04:17:10.398: E/AndroidRuntime(775): Caused by: java.lang.ClassNotFoundException: Didn't find class "kr.go.egovframework.hyb.cameraapi.CameraAPIGuide_AndroidActivity" on path: /data/app/kr.go.egovframework.hyb.cameraapi-2.apk
06-17 04:17:10.398: E/AndroidRuntime(775): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
06-17 04:17:10.398: E/AndroidRuntime(775): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
06-17 04:17:10.398: E/AndroidRuntime(775): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
어떻게 해야하나요?
아래와 같은 에러가 log켓에서 보여지고
에뮬레이터에는 unfortunately, CameraAPIGuid_Android has stopped.라는 메세지가 보여지고 실행이 되지 않습니다.
06-17 04:17:10.398: E/AndroidRuntime(775): FATAL EXCEPTION: main
06-17 04:17:10.398: E/AndroidRuntime(775): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{kr.go.egovframework.hyb.cameraapi/kr.go.egovframework.hyb.cameraapi.CameraAPIGuide_AndroidActivity}: java.lang.ClassNotFoundException: Didn't find class "kr.go.egovframework.hyb.cameraapi.CameraAPIGuide_AndroidActivity" on path: /data/app/kr.go.egovframework.hyb.cameraapi-2.apk
06-17 04:17:10.398: E/AndroidRuntime(775): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2106)
06-17 04:17:10.398: E/AndroidRuntime(775): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
06-17 04:17:10.398: E/AndroidRuntime(775): at android.app.ActivityThread.access$600(ActivityThread.java:141)
06-17 04:17:10.398: E/AndroidRuntime(775): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
06-17 04:17:10.398: E/AndroidRuntime(775): at android.os.Handler.dispatchMessage(Handler.java:99)
06-17 04:17:10.398: E/AndroidRuntime(775): at android.os.Looper.loop(Looper.java:137)
06-17 04:17:10.398: E/AndroidRuntime(775): at android.app.ActivityThread.main(ActivityThread.java:5041)
06-17 04:17:10.398: E/AndroidRuntime(775): at java.lang.reflect.Method.invokeNative(Native Method)
06-17 04:17:10.398: E/AndroidRuntime(775): at java.lang.reflect.Method.invoke(Method.java:511)
06-17 04:17:10.398: E/AndroidRuntime(775): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
06-17 04:17:10.398: E/AndroidRuntime(775): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
06-17 04:17:10.398: E/AndroidRuntime(775): at dalvik.system.NativeStart.main(Native Method)
06-17 04:17:10.398: E/AndroidRuntime(775): Caused by: java.lang.ClassNotFoundException: Didn't find class "kr.go.egovframework.hyb.cameraapi.CameraAPIGuide_AndroidActivity" on path: /data/app/kr.go.egovframework.hyb.cameraapi-2.apk
06-17 04:17:10.398: E/AndroidRuntime(775): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
06-17 04:17:10.398: E/AndroidRuntime(775): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
06-17 04:17:10.398: E/AndroidRuntime(775): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
A
안녕하세요. 김재중님
질문하신 문제는 안드로이드 개발을 위한 Eclipse Plug-In(ADT)의 문제로 보입니다.
1. 해당프로젝트에서 오른쪽 마우스 클릭 > Properties > Java Build Path > Order and Export Tab 선택
2. Order and Export 탭에 표시되는 모든 항목의 CheckBox를 체크 후 Ok 클릭.
3. Menu > Project > Clean...
해보시면 문제가 해결될 수 있을 것 같습니다.
고맙습니다. 좋은 하루 되시길 바랍니다.
질문하신 문제는 안드로이드 개발을 위한 Eclipse Plug-In(ADT)의 문제로 보입니다.
1. 해당프로젝트에서 오른쪽 마우스 클릭 > Properties > Java Build Path > Order and Export Tab 선택
2. Order and Export 탭에 표시되는 모든 항목의 CheckBox를 체크 후 Ok 클릭.
3. Menu > Project > Clean...
해보시면 문제가 해결될 수 있을 것 같습니다.
고맙습니다. 좋은 하루 되시길 바랍니다.