Godot Engine

Godot Engine

黑熊科技 2021 年 8 月 10 日 上午 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?
< >
目前顯示第 1-4 則留言,共 4
Akien  [開發人員] 2021 年 8 月 10 日 下午 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.
黑熊科技 2021 年 8 月 11 日 上午 11:55 
I understand, but where is this "adb logcat"?
Akien  [開發人員] 2021 年 8 月 12 日 上午 12: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.
黑熊科技 2021 年 8 月 13 日 上午 7:05 
I'll check if I can, I'll return an answer right away.
< >
目前顯示第 1-4 則留言,共 4
每頁顯示: 1530 50

張貼日期: 2021 年 8 月 10 日 上午 10:40
回覆: 4