GLBasic forum

Main forum => GLBasic - en => Topic started by: MrPlow on 2014-Jun-23

Title: Android bloat / crashing
Post by: MrPlow on 2014-Jun-23
Hi

I have a couple of users saying that further into it when they are on for a high score the game crashes on them.
I have looked to see if arrays have been cleaned up etc and cant seem to find anything obvious.

Any ideas?

I reset arrays using dim array[0]
Title: Re: Android bloat / crashing
Post by: spacefractal on 2014-Jun-23
without any source, then its can been anything.

its could also been a array out of bounds or downloading of hiscore might crash?
Title: Re: Android bloat / crashing
Post by: kanonet on 2014-Jun-23
If you cant reproduce the crash on your side, its almost impossible to track it down. What app is it, maybe some of us can get the crash too?
Title: Re: Android bloat / crashing
Post by: MrPlow on 2014-Jun-23
Its galaxy storm - just a few users say it...but trying to avoid any bad reviews
http://goo.gl/gPLpxY

Title: Re: Android bloat / crashing
Post by: spacefractal on 2014-Jun-23
if its a issue in the Java, then im need the crash report.
Title: Re: Android bloat / crashing
Post by: MrPlow on 2014-Jun-23
No crash reports seem to be generating for this error - so maybe they hit back button or something...could be silly like that too.
Title: Re: Android bloat / crashing
Post by: spacefractal on 2014-Jun-23
you can try doing that by your own, if its a back button issue. This button can been controlled by AE, etc its only exists if you are in the menu example.
Title: Re: Android bloat / crashing
Post by: MrPlow on 2014-Jun-24
Thanks I will look into that now.
Title: Re: Android bloat / crashing
Post by: MrPlow on 2014-Jun-24
Hi SF,

Is the enable back button only in the newer versions of AE?

Or is it included in the java of the older versions?
Title: Re: Android bloat / crashing
Post by: erico on 2014-Jun-24
Tell you that I had my game crashing on me out of nothing a very few times(kind of 1/100), like it simply closes and usually after a while(3 or 4 minutes) in game.
I blamed the load on my phone, ye many apps running and all that. Sometimes, kind of the same frequency, it starts like 30fps.

I was never able to figure out why both happens, but never happened on PC.
So, again, I think it happens when the phone is really loaded.
Title: Re: Android bloat / crashing
Post by: spacefractal on 2014-Jun-24
this can also look like a memory leak, so its run out of memory and then crash. But im would like to see eventuelly crash report.

30fps is sometimes also happens on Windows as well. So its not a unique Android issue eventuelly.

Also if the device have low in internal memory, then the app might crash out too.
Title: Re: Android bloat / crashing
Post by: erico on 2014-Jun-24
Quote from: spacefractal on 2014-Jun-24
...
30fps is sometimes also happens on Windows as well. So its not a unique Android issue eventuelly.
...

Yep you are right. I recall that happening a few times on pc.
Title: Re: Android bloat / crashing
Post by: MrPlow on 2014-Jun-24
My app is 40 FPS