Problem with exporting to android

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Krippi

I want to turn my project into an android app and I think I followed the steps correctly. Now when I create the apk and drag and drop it onto my smartphone and want to execute it, it crashes right away. In android studio there is an error with Libraries (* .so) in the APK are missing debug symbols. Bu i dont know if that has something to do with that.

Can u help me fix this? What could it be?

:bust_in_silhouette: Reply From: Bypell

There are a lot of things that can make your android game crash, try to run an empty godot project on your phone and tell me if it works. If it does, the problem is probably in your project.

I made a Project with just a Node2D Element and still the same error. After starting the app insta crashes

Krippi | 2020-03-09 17:12

:bust_in_silhouette: Reply From: Krippi

The problem is still fixed thanks.

:bust_in_silhouette: Reply From: crazyhat62

The best thing would be debug you app on the android (with GoDot). you have to be a developer on the android device and allow usb debugging and set the debug app as the one you are trying to debug. plug it in and the little android should appear near the run button. if not look up a tutorial.

Get rid of all errors that come up.

Could be a path you didn’t include or a number of things
Also good to remember is that Android is case sensitive and any asset that you loaded i.e. an image into a sprite could cause this if the path has changed i.e res://assets to res://Assets … I just did this, its a problem with developing on windows