App crashing on exit

Not sure why…but sometimes whenever I close my app(press physical back or home button), the app crashes. Error “The application ShapeBuilder (process org.blah.blah) has stopped unexpectedly. Please try again.” and a button that says Force close.

Any thoughts on how to prevent/fix this? [import]uid: 5022 topic_id: 1583 reply_id: 301583[/import]

There is nothing you can do about this. Ansca has to fix the android engine. It was reported already many times. [import]uid: 5712 topic_id: 1583 reply_id: 4525[/import]

Do any of the Corona sample apps do this or just your app? What device is it happening on?

@MikeHart, I need to look to see what’s been reported before and look into the status for a fix.

Update:
Does this link describe what you’re seeing?
http://developer.anscamobile.com/forum/2010/06/19/app-has-stopped-unexpectedly-android

-Tom [import]uid: 7559 topic_id: 1583 reply_id: 4527[/import]

Figured it out. If I play an mp3, then it will error when closing the app (even if mp3 is finished playing) Reproducible in 1 line of code:

media.playSound(“Audio_Accordian.mp3”)

download file here: http://www.pogi.org/Audio_Accordian.mp3
[import]uid: 5022 topic_id: 1583 reply_id: 4543[/import]

Added this as case #541.

Thanks for the input.

-Tom [import]uid: 7559 topic_id: 1583 reply_id: 4547[/import]

Fixed for beta 8. [import]uid: 54 topic_id: 1583 reply_id: 4555[/import]

Yes, that is what I ment. [import]uid: 5712 topic_id: 1583 reply_id: 4579[/import]

Mike,

Are there other Android crash issues beyond the MP3 sound issue?

-Tom [import]uid: 7559 topic_id: 1583 reply_id: 4596[/import]

I have a crash but I suspect it is regarding file writes. Im writing 2 lines after the game ends (level and score), but I think the second write is causing a crash because when I read it back, the second read doesn’t have the correct data. [import]uid: 3686 topic_id: 1583 reply_id: 4723[/import]

And I also have an issue with web popups, I have to disable them for the Android 1.5 builds because it also crash the application (trying to display an Admob)
Thanks! Great job by the way :slight_smile: [import]uid: 3686 topic_id: 1583 reply_id: 4724[/import]

There are number of issues with Android builds that we are working on. We hope to have an update soon. [import]uid: 7559 topic_id: 1583 reply_id: 4764[/import]