Android application has stopped unexpectedly - where to start debugging?

I have created a project with a app which I want to run on iOS and Android. iOS just works perfectly. When I run it in the Android emulator I only get the poppup message: "Application stopped unexpectedly please try again". There is no debugging information available as far as I can see. I don't see any log files etc.

I am using:
Mac OS X Lion

Ti Studio:


Google API 3.3

Where can I start my debug?

2 Answers

  • DDMS is your friend for android development.
    If you haven't already, follow the wiki to install the Java Development Tools and the Android Development Tools

    While you can access DDMS without these steps, this puts DDMS as a perspective within Studio. If you don't want that, you can access DDMS from inside the tools directory of your android sdk installation.

    DDMS talks to your emulator or actual device returning information you will need to debug your application.

    — answered 4 years ago by Stephen Feather
    1 Comment
    • If you are getting javascript errors in your android application, then you can use the internal studio debugger to walk through your code at breakpoints, checking values, etc. to hunt down those problems.

      — commented 4 years ago by Stephen Feather
  • The same thing happened to me.

    I change the <analytics> (line31) from true to false in tiapp.xml and everything works after that.