설.현.아빠
Android Debugging 하기 본문
Android debugging 눈빠진다... 보통 ERROR/AndroidRuntime 이걸로 찾아보면 아래와 같이 에러부분을 확인 할 수 있다. 아래 에러는 <TextView를 <Textview로 잘못 타이핑 하여 생긴에러...main.xml파일의 23번 line에 오류가 있었음.. 10-07 02:04:01.713: DEBUG/AndroidRuntime(1222): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
10-07 02:04:01.722: DEBUG/AndroidRuntime(1222): CheckJNI is ON
10-07 02:04:01.942: DEBUG/AndroidRuntime(1222): --- registering native functions ---
10-07 02:04:02.863: INFO/ActivityManager(59): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=my.android.app/.AndroidList }
10-07 02:04:02.913: INFO/ActivityManager(59): Start proc my.android.app for activity my.android.app/.AndroidList: pid=1230 uid=10041 gids={}
10-07 02:04:02.952: DEBUG/AndroidRuntime(1222): Shutting down VM
10-07 02:04:02.962: DEBUG/dalvikvm(1222): Debugger has detached; object registry had 1 entries
10-07 02:04:03.033: INFO/AndroidRuntime(1222): NOTE: attach of thread 'Binder Thread #3' failed
10-07 02:04:03.982: DEBUG/AndroidRuntime(1230): Shutting down VM
10-07 02:04:03.982: WARN/dalvikvm(1230): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): FATAL EXCEPTION: main
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): java.lang.RuntimeException: Unable to start activity ComponentInfo{my.android.app/my.android.app.AndroidList}: android.view.InflateException: Binary XML file line #23: Error inflating class Textview
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): at android.os.Handler.dispatchMessage(Handler.java:99)
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): at android.os.Looper.loop(Looper.java:123)
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): at android.app.ActivityThread.main(ActivityThread.java:4627)
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): at java.lang.reflect.Method.invokeNative(Native Method)
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): at java.lang.reflect.Method.invoke(Method.java:521)
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): at dalvik.system.NativeStart.main(Native Method)
10-07 02:04:04.012: ERROR/AndroidRuntime(1230): Caused by: android.view.InflateException: Binary XML file line #23: Error inflating class Textview
'안드로이드 > Debug' 카테고리의 다른 글
[Log4J] 간단한 소개 (0) | 2011.02.11 |
---|---|
log4j의 사용 (0) | 2011.02.11 |
Log4j.properties 설정 파일 작성 방법 (0) | 2011.02.11 |
간단한 Log4j 사용법 (0) | 2011.02.11 |
[Android] Monkey 사용하기! 무작위 입력 사건으로 품질보증테스트. (0) | 2011.02.11 |