virtual device does not display exception/error?

  • Replies:1
Stephen Kong
  • Forum posts: 17

Oct 12, 2011, 2:30:15 AM via Website

I am working on my very first android application. If I installed an invalid application on an AVD, I was expecting it displayed an exception or reason of failure. But the AVD simply displayed the following message. Is it possible to setup an AVD so it could display more useful debug exception/error?

The application HelloTabWidget (process home.net) has stopped unexpectedly. Please try again.
[ ok ]

Reply
Jeremiah
  • Forum posts: 775

Oct 12, 2011, 8:25:30 AM via Website

Are you using Eclipse to develop your apps? If so use it's built in tools; http://developer.android.com/guide/developing/debugging/debugging-projects.html

If your developing with out eclipse, here is some info: http://developer.android.com/guide/developing/debugging/debugging-projects-cmdline.html
Also you can open the command line while your emulator is running and type: adb debug
It will give you the logcat information.

Reply