Android 6 Crashing

Previous topic - Next topic

spacefractal

#30
DrawRect and other draw fill commands does not supports on some devices, and on some devices its might only color them white. Howover this is something that should been implented a test, if its possible to use them or not.

But in the end, nothing that can been fixed, since its a SDL/Android issue.

But instead, uses POLYVECTOR to draw them with a filled texture.

Im did such a rutine in CatchOut to avoid it. But im could only use palette of 4096 palette througt (palette done drawed in the png file).

http://www.glbasic.com/forum/index.php?topic=11073.msg97344#msg97344 (im thinks im share some code from CatchOut).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Cool thanks!
Its not a big issue as crash rate seems very low for that issue...will keep an eye on it!
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

not here too, often its dosent paint in correct color, mostly normally white as im have seen. You cant trust DRAW_RECT on Android. Hence im did my own...

Currectly im are reuploading android platform again with few changes. Im also havent updated Google Play service, which require a manual version number change in manifest.xml. Im should do a automatic change on that when that happens.... Both API and Google Play so fails is lesser.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

look like im need to change a bits in the next version in admob, since Google Play services is no longer part of own sdk, but is now integrated. that means in the future Android 4.0 would been required for Glbasic apps, which means api-14 would been minimum. Android 2 and 3 is also that insanly old so im wont support them anyway.

So there is some clean ups required.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

look like its impossible to avoid Android Studio completly and need to revoke this platform completly as same way required with iOS and xCode. :-(

More more libs is simply.... just integrated to that now. We im use is version 23 of Google Play Service, but is around version 45 now. Quite old, and nothing as im can do for this point.

Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Hi SF

I dont use the Google Play Services much (but I do use Inapp purchasing) and have my own high score saving.

I think is inapp part of it?

I do see more new apps starting with 4.0 support alright.
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

MrPlow

#36
Something Occurred with GLB stability with Google at the start of April 2017 (Google new changes etc.)

My crash rate for one of my popular apps went from 2 - 4 crashes per day to 290+ per day!!!

Wow. With majority of those crashes coming from Android 6.0 and 7.0 and was not related to any update that I did.

Literally overnight 6 and 7 started to crash more frequently for my apps.


I am staging out a new compile of one of my apps to see if a new build fixes some of the crashing issues...as my recent app builds do not have such large crash rates under the new Android 6.

Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#37
I'm no idea why. You should normally use the most recent version. I'm did fixed one crash after version 2.9. It's might crash due using ouya sdk when not used. The code would simply just got removed when not using it.

Also again. I'm Cannot guarantee anything with old versions, because few things might have been fixed since then.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

can you write about crashes here. since the other was offtypic stuff.

Can you pm me your project (so im can download it), so im can checking out how you do loading your stuff and using GLB_ON_LOOP etc or not. That one that crash most. Of course im will newer release/pirate it. But im want to have something to checking what happens.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Hi SF

I need an email to send a link to you.
Basically the same errors are occuring in my other apps too - I myself never see them anyway...roughly same codebase as 3 other apps...so I will give you one of those - same types of errors.

The reason the large amount of crashes is the number of users on one of the apps is far larger.

Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#40
Look like greedy mouse do have crashes too. I'm do not know it startup, ingame, but could even happens on quit (etc crash on quit, which might have giving a report too).

This is something I'm should cheking since I'm mean I'm have see crash on quit or in idle. Those kind of crash give report too.

Reports of crash on quit (which also can happens), you should not been worred about that. I'm remember it's a know issue and property newer got fixed. But....

I'm this week update android extras with Android 6 which all Google service Play removed. This sucker is too much a pain and is deprecated from android 6 as external sdk. We need move tio android studio and nothing om an do. So I'm cease all this kind of support now. Sorry. I'm even lost a tablet due that.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Yes, I can see it must be frustrating to get it to work.

Happy to help and try to resolve some of the issues...
I wrote a more detailed reply on the other post...I think don't aim for 100% just an acceptable crash rate is good enough!

There will be devices that may need to excluded - thats no biggie!

Is all your play services support within the SDL activity and the other jar files for google play?

Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#42
I'm tried both. Now I'm remove all Google play service stuff, include admob, inapp and downloads. I'm do not remove ouya shop of course.

Bear in mind as some of the crash report you see could been happens on quit, which im also have that. Etc the app does not close down correctly. It's might not happens in runtime. Some phone can crash all apps, where nothing I'm can do.

So next version of Android extras would been clean one without Google sevice play. Stabilty come first and newer api come first.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Quote from: spacefractal on 2017-Sep-04
I'm tried both. Now I'm remove all Google play service stuff, include admob, inapp and downloads. I'm do not remove ouya shop of course.

Bear in mind as some of the crash report you see could been happens on quit, which im also have that. Etc the app does not close down correctly. It's might not happens in runtime. Some phone can crash all apps, where nothing I'm can do.

So next version of Android extras would been clean one without Google sevice play. Stabilty come first and newer api come first.

No problem SF!
I have long avoided the Exit App crashing - does not occur in my apps.
Generally I do not see crashes myself...(wish I did!)

I find it strange that Ouya is a remaining, its such a small platform...just my thoughts...perhaps Ouya doesnt affect crashing?


Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#44
its did also crash after they updated it, which was im was used the DOWNLOAD directory. Its was here its got changed to use the DOCUMENTS. Ouya uses own SDK and does not use Google Play Service at all (which is skipped here). but howover its might require GameInput API throught, which a least require version 3.0. But there is no ads system working on Ouya and Android TV anyway.

Howover im do not get any sale at all, but its a great test platform. Etc, if you can get it running on Ouya, then its would been pretty easy to adapt it for Android TV.

But also.... The Ouya SDK could also crash out on some devices as well, which im fixed by removed it completly when not using the Ouya SDK. But if you released on Ouya and use it on Google Play (etc you ahve a dev key from Ouya), then its was not a issue.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/