마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

실행만 하면 죽어버리는 앱을 어디서 오류 내용을 확인할 수 있을까요?

0 추천

안녕하세요.

Do it 안드로이드 앱프로그래밍 책으로 혼자 공부하고 있는 초보입니다 ㅠ.ㅠ

11장에 나오는 트위터 연동 앱을 테스트 해보는 도중에 실행만 하면 아래와 같이 Debug 탭이 뜨면서 앱이 멈춰버립니다.

처음 공부하는 단계라 어디를 어떻게 봐야할지 모르겠네요^^;;

조언 좀 부탁드리겠습니다. 꾸벅.

 

Helloworld [Android Application]

DalvikVM [localhost:8633]
Thread [<1> main] (Suspended (exception RuntimeException))
<VM does not provide monitor information>
ActivityThread.performLaunchActivity(ActivityThread$ActivityClientRecord, Intent) line: 2059
ActivityThread.handleLaunchActivity(ActivityThread$ActivityClientRecord, Intent) line: 2084
ActivityThread.access$600(ActivityThread, ActivityThread$ActivityClientRecord, Intent) line: 130
ActivityThread$H.handleMessage(Message) line: 1195
ActivityThread$H(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 137
ActivityThread.main(String[]) line: 4745
Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 511
ZygoteInit$MethodAndArgsCaller.run() line: 786
ZygoteInit.main(String[]) line: 553
NativeStart.main(String[]) line: not available [native method]
Thread [<10> Binder_2] (Running)
Thread [<9> Binder_1] (Running)
 
LogCat 에는 아래와 같이 나옵니다.
03-10 23:12:32.336: W/ActivityThread(24722): Application com.falinlov.helloworld is waiting for the debugger on port 8100...
03-10 23:12:32.356: I/System.out(24722): Sending WAIT chunk
03-10 23:12:32.366: I/dalvikvm(24722): Debugger is active
03-10 23:12:32.561: I/System.out(24722): Debugger has connected
03-10 23:12:32.561: I/System.out(24722): waiting for debugger to settle...
03-10 23:12:32.761: I/System.out(24722): waiting for debugger to settle...
03-10 23:12:32.961: I/System.out(24722): waiting for debugger to settle...
03-10 23:12:33.161: I/System.out(24722): waiting for debugger to settle...
03-10 23:12:33.361: I/System.out(24722): waiting for debugger to settle...
03-10 23:12:33.561: I/System.out(24722): waiting for debugger to settle...
03-10 23:12:33.761: I/System.out(24722): debugger has settled (1305)
03-10 23:12:35.231: D/dalvikvm(24722): threadid=1: still suspended after undo (sc=1 dc=1)
 

 

이슬비0 (150 포인트) 님이 2014년 3월 10일 질문

1개의 답변

+1 추천
디버그 모드로 실행 시키신거 아닌가요?

그냥은 디버그 탭으로 넘어갈일이 없는데 말이죠?
aucd29 (218,390 포인트) 님이 2014년 3월 11일 답변
...