Android export issues

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LionHeart96
:warning: Old Version Published before Godot 3 was released.

Hi everyone, so I am a bit of a newbie when it comes to godot and have encountered an issue when exporting my game to android. The export panel doesnt come up with anything once exported but when I look at the command prompt I get this:

ERROR: ResourceImportMetadata: : get_option: Condition ' !options.has<p_key> ' is true. returned: Variant<> At: core\resource.cpp:99

I have looked all over and not managed to find anything related to this issue. I have my JDK, android SDK, adb, jarsigner and the keystore setup. If I put the app on my phone it just enters an infinite loop of the godot splashscreen flashing.

Thanks in advance

I got that error every time when export android but I don’t have problem to run it on android.
I think you need proper template for android.
did you update your templates to match with your editor?

volzhs | 2017-05-15 06:57

Yeah I made sure that I had the newest templates, just downloaded them yesterday so they should be correct

LionHeart96 | 2017-05-15 15:57

you need to see adb logcat to find what exactly happen.
flashing slpashscreen happens usually if template is not match or can’t read or parse scene or script.

volzhs | 2017-05-16 04:01

:bust_in_silhouette: Reply From: MrMonk

usually this happens when some resources are not loaded correctly. They load in windows but not on Android. In windows the path/filename is not case sensitive, but it is on Android. If your scene is called: scene1.tscn it will load on windows when called as Scene1.tscn but not on Android.
Make sure you check this first. Then some functions work on windows but not on Android, very few behave like this, but they are very difficult to track. Use the adb logcat, if you can’t figure it out… meah…take it step by step, disable all functions one by one :slight_smile:

Thanks for your help, managed to get my logcat and its just a wall of text haha. Will work my way through it and hopefully be able to sort it out.

LionHeart96 | 2017-05-16 20:51