0 votes

My game open on android with the Godot logo, then it rapidly switches beetwen a black screen and the Logo screen for few seconds then it closes.
I did the thing with the adb.exe, the jarsigner and the key when I exported the .apk. I don't know where the problem could be. Do I need to do any kind of script for the resolution? I saw something on a tutorial but it was on another topic.
I'm just starting on game development. It's the first game I export, so I don't really know what this could be.

in Engine by (17 points)

1 Answer

0 votes

I had this issue. It was a while ago and I think this was the cause, but if it's not, it's still something to be aware of.

If you're developing on Windows, filenames format are not as much as a concern as they are for Android. Windows doesn't care about case or underscores.
I am using a download graphics pack and the filenames are full of underscores. This (I think) was causing the issue. I have to rename all of my files, to remove the underscore (I use a bulk rename utility).
Make sure the case of your files match as well. Godot should give your warnings about that.

If it's not that, try remote debugging?

by (1,921 points)
edited by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.