안녕하세요.
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)