More than errors I have ANR and this is the most frequent:
KeyDispatchingTimeOut
What is? Timeout when launch the game? To much graphics? I load all resources in the main.lua
Today I have received a user message attached to the ANR:
"does not start more :-( sorry but I have to unistall"
I whant his e-mail to say "nooooo please!!"
Comments
I my self right now developing a plugin to get images from gallery or camera and use in Gideros, and I'm working on resizing, so on my slow device LG P500, resizing of large image (2000x2000) takes more than 5 seconds, so I'm seeing the ANR dialog quite a lot. But in this dialog there is also an option to wait, I press wait and successfully wait till the image processing is done.
So in reality, it could be that app is actually doing something and you should wait more, but sometimes not.
KeyDispatchingTimeOut basically says that it was key input which detect that UI thread is busy for more than 5 seconds. But that does not mean that something bad happens in your app on Key event. Most probably after seeing black screen and your app loading, user tried to push back, or something like that.
Now to why this happens, is another question.
Firstly did user mention if it started happening after some update, or it was a new user?
Do you know what device did the user have and what resources are available on device (CPU/RAM)?
It might be graphics loading, especially if you are not dividing graphics between screens and simply load everything in the beginning of the app.
It also might be a loop, etc.
It could be some service waiting on the callback
Likes: hgvyas123
In the Android Activity i also use a thread to display my splash screen to avoid the black screen while gideros load the resources. It's wrong?
https://play.google.com/store/apps/developer?id=Arcadia Solutions
on which game you have it? let me try it out
https://play.google.com/store/apps/details?id=it.arcadiasolutions.savetheark
https://play.google.com/store/apps/developer?id=Arcadia Solutions
https://play.google.com/store/apps/developer?id=Arcadia Solutions
so you load all of your resources in the main file? I would suggest dividing them to the scenes and load only global graphics in main.lua (the ones that are used in many scenes)
https://play.google.com/store/apps/developer?id=Arcadia Solutions
And you could also check if those ANRs you have also coming from low end devices, just in case
https://play.google.com/store/apps/developer?id=Arcadia Solutions