0 votes

Hi , I m making an android endless runner game.
It works quite good in the GD editor but on exporting n trying ot run in my device (samsung galaxy j1 ) , dame dosent loads .
I have used 8 timers and 16 sprites in that game

in Engine by (34 points)

3 Answers

+2 votes

It's because some errors occurred when starting game.
You need check logs with adb logcat

by (9,798 points)
+3 votes

I had this problem when the paths are incorrectly typed.
For example: preload("/myFile.scn") instead of preload("res://myFile.scn")worked fine on desktop but not in Android.

by (548 points)

Also worth noting that paths in Android are case sensitive so preload("res://myfile.scn") is not the same as preload("res:myFile.scn") and will also cause the game to fail when loading.

You saved my butt with this one. AWESOME. Thanks so much for the help!

0 votes

i had the same problem. in my case, i installed the wrong export template version different from that of the godot editor. the version of the template should the same as that of the editor.

by (16 points)
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 Frequently asked questions and 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 [email protected] with your username.