0 votes

Hi I'm newbie I had error when Run on mobile device

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

I think the error is can't load res file but i cannot track which is error, Project is run normal on window

my logcat

04-07 14:41:00.007   360   438 D hwcomposer: hw_composer sent 6 syncs in 60s
04-07 14:41:11.806   383   579 E         : Couldn't opendir /data/app/vmdl1405372320.tmp: No such file or directory
04-07 14:41:11.806   383   579 E installd: Failed to delete /data/app/vmdl1405372320.tmp: No such file or directory
04-07 14:41:11.885   486   802 I ActivityManager: START u0 {act=android.intent.action.MAIN flg=0x10000000 cmp=org.dzxxsd.lowercan/org.godotengine.godot.Godot} from uid 0

I think that logcat say is uninstalling my app when it false to run
I don't know how to fix it, i try many thing before
info: this project is make on version 2.x

Thank you very much.

in Engine by (12 points)

Ok, a Question for Godot2!

About the first error:

I can not exactly say why the error occurs. This could be everything. Maybe there's a resource with special (international) characters in the file name. Or the character case is not respected when loading a resource from script (although I'd expect other errors then).

There's an (Editor) option to uninstall the previous version of the game before the new one is installed. (I think that it exists on 2.x but It's been a year ago that I used it.)

Does your game/app run or not?
What happens?

If you app fails on startup you might want to put print statements in your startup code and see if any of those will make it into the logcat.

Thank you very much i find out that that is not the main problem
my app cannot install because keystore to export and ARM support to my virtual device
thank u.

Please log in or register to answer this question.

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 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 webmaster@godotengine.org with your username.