When our application is installed on android emulator, we run it and expect it will running successfully. But, sometimes it is unsuccessfully, an error message appears, sometimes, likely it is not from our application, so how to know which part of our codes is currently throwing the error..
An alternative way is to watch the log produced by the emulator. Just run the emulator, wait until completed, then from shell, issue command:
adb logcat
The log will be show up at a new windows, and you can watch which part of your codes currently throwing error.
ok, have a nice try!
adb logcat
The log will be show up at a new windows, and you can watch which part of your codes currently throwing error.
ok, have a nice try!
0 comments:
Post a Comment