Tabby
Lost but trying
Profile
Posts: 2
Reg: Oct 19, 2013
Birmingham
4,120
12/31/13 02:59 PM (11 years ago)

Application not running on Simulator

Hi guys, I'm probably being really silly but any idea someone could explain to me why my app doesn't want to run on my simulator? I can see the icon on it but when I click on it, it just says that the 'application has been forced to close unexpectedly. Please try again.' There don't seem to be any errors and I have used Google APIs 2.2 so I can't see what the problem is. Any help would be greatly appreciated. Thanks :)
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
12/31/13 04:44 PM (11 years ago)
That happens to me from time to time. They're the worst kinds of problems, because there is no warning or errors in the code. But you're trying to make it do something it doesn't want to do. This could be very simple or very complex. The only thing I can say to try and narrow down the problem is to get accustomed to putting Debugger statements 'everywhere' and check your logcat to find out where the last statement came from. It will usually provide some kind of hint. In Android the BT_debugger statements look like: BT_debugger.showIt(activityName + ": Got this far #27"); Make sure they're all a little different so you'll know which one is which. Good Luck! Cheers! -- Smug
 
Imagenparaweb
Aspiring developer
Profile
Posts: 121
Reg: Dec 13, 2011
Cordoba
1,210
like
01/02/14 05:51 AM (11 years ago)
If you're working with Eclipse, check the logCat.. I found important error logs there. http://www.itcsolutions.eu/wp-content/uploads/2011/09/LogCat_View.jpg GOod luck.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.