2 Replies - 6934 Views - Last Post: 18 February 2010 - 07:44 AM

#1 Guest_Djanvk*


Reputation:

How to find out why the app force closed with Android?

Posted 17 February 2010 - 05:40 PM

I have an app I created in eclipse for the Droid with the Android OS. In eclipse it is showing no errors but when I run it in the emulator I get a force close when I click on the only button in my app which does the calculation.

It's not a big app it just a small app which calculates the duration of flow for a oxygen cylinder.

Thanks
Is This A Good Question/Topic? 0

Replies To: How to find out why the app force closed with Android?

#2 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1524
  • View blog
  • Posts: 5,960
  • Joined: 21-March 08

Re: How to find out why the app force closed with Android?

Posted 17 February 2010 - 08:28 PM

At the top right of Eclipse, you will see "Java" and "Debug". Go to the Debug. In the bottom right, you will see a number of windows. One of those windows is LogCat. LotCat will show you the error, line number, and stack trace. The errors will be in red.
Was This Post Helpful? 0
  • +
  • -

#3 Djanvk  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 80
  • Joined: 14-December 08

Re: How to find out why the app force closed with Android?

Posted 18 February 2010 - 07:44 AM

Hey thanks for the help, I'll give it a try.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1