开发者

Handle Errors on Android

开发者 https://www.devze.com 2023-02-02 11:15 出处:网络
When I run an application that contain some开发者_开发知识库 kind of error, the emulator tells me that the application has stopped unexpetedly.

When I run an application that contain some开发者_开发知识库 kind of error, the emulator tells me that the application has stopped unexpetedly.

I use Eclipse on Ubuntu 10.10.

Where I can find a more verbose log on what happened to the application?

Thanks!


In Eclipse switch to the Debug perspective (Menu Bar -> Window -> Open Perspective -> Debug). You will see a view called logcat with Android icon. Click on it, it will display the debugging/error messages.


The error StackTrace can be explored via this console command:

adb logcat
0

精彩评论

暂无评论...
验证码 换一张
取 消