我的android應用程序崩潰與下面的堆棧。如何找到真正的問題並修復它? 如果在應用程序崩潰後的調試透視圖中自動打開窗口「未找到源」並按鈕「編輯源查找路徑...」,該怎麼辦?如何檢查哪條線路導致問題?如何使用調試工具在android應用程序中發現問題?
Thread [<1> main] (Suspended (exception RuntimeException))
ActivityThread.performLaunchActivity(ActivityThread$ActivityClientRecord, Intent) line: 1879
ActivityThread.handleLaunchActivity(ActivityThread$ActivityClientRecord, Intent) line: 1980
ActivityThread.access$600(ActivityThread, ActivityThread$ActivityClientRecord, Intent) line: 122
ActivityThread$H.handleMessage(Message) line: 1146
ActivityThread$H(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 137
ActivityThread.main(String[]) line: 4340
Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 511
ZygoteInit$MethodAndArgsCaller.run() line: 784
ZygoteInit.main(String[]) line: 551
NativeStart.main(String[]) line: not available [native method]
logcat中顯示以下錯誤:
12-07 20:10:52.803: W/dalvikvm(831): Unable to resolve superclass of Lcom/appspot/Gmaps_over_netActivity; (27)
12-07 20:10:52.803: W/dalvikvm(831): Link of class 'Lcom/appspot/Gmaps_over_netActivity;' failed
12-07 20:10:58.118: W/ActivityManager(87): Launch timeout has expired, giving up wake lock!
12-07 20:10:58.955: W/ActivityManager(87): Activity idle timeout for ActivityRecord{410f8a38 com.appspot/.Gmaps_over_netActivity}
出了什麼問題?
這是完整的堆棧跟蹤? – havexz