Godot Engine

Godot Engine

黑熊科技 10. aug. 2021 kl. 10.40
I can't open my game on android (Godot 3.3.2)
Hi guys, I'm developing a spaceship game for android in 2D, but I'm not able to run it on my cell phone at all! it's always on an infinite black screen and closes by itself or something, I've tested it on other phones and an android emulator on the computer and it always gives the same problems.
So I decided to create a new 2D project, I just put a simple scenario with 2 buttons in the middle without any function, I compiled it for android, and I ran it, it ended up starting normal!, so I decided to go adding new things to this test project, I put more buttons with simple functions to turn off music for example and texts on the screen, I added a controllable puppet and ended up giving trouble again. What will this be?
< >
Viser 14 av 4 kommentarer
Akien  [utvikler] 10. aug. 2021 kl. 12.01 
There's likely a bug in your project. You should get the Android logs with `adb logcat` to see if there are any errors reported by Godot.

Make sure that any errors reported when running on your computer are fixed too.
黑熊科技 11. aug. 2021 kl. 11.55 
I understand, but where is this "adb logcat"?
Akien  [utvikler] 12. aug. 2021 kl. 0.32 
It's a tool in Android Studio or the Android SDK: https://developer.android.com/studio/command-line/logcat

It's not specific to Godot but the main tool used to debug Android applications. If you have Android Studio, it should be integrated right in the IDE too.
黑熊科技 13. aug. 2021 kl. 7.05 
I'll check if I can, I'll return an answer right away.
< >
Viser 14 av 4 kommentarer
Per side: 1530 50

Dato lagt ut: 10. aug. 2021 kl. 10.40
Innlegg: 4