Loading on android fails. Where can I view the logs to see what the issue is?

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

Hi all,

I can’t find this info but I’m sure it’s somewhere. I have to ask sorry.

I’m exporting, then taking to android via file copy, then installing. It fails.
I then try and run directly whilst phone is attached via cable, from within Godot.
It also fails.

I have the debug keystore, SDB, etc etc all setup. I’ve done this many times in the past, but for some reason this game is failing to run.

I’m on OSX. Where can I view the logs for the failure reason? I suppose in the terminal but how can I access the terminal output if that is the case?

Thanks so much and sorry to have to ask.

What is the fail error message on your phone? Is it “failed parsing package” or something like that?

If you have ADB, you can run adb logcat in a console and see what it prints.
There can be multiple reasons why it fails (which result in similar error messages)

  • The APK is not signed correctly (you can see that in the Godot console when exporting, it’s not printing in red but it’s there)
  • The SDK version is not supported
  • You filled in a wrong parameter/package name in export options

Zylann | 2017-04-27 12:53

Thank you!!!

Invalid manifest package: bad character '-'

Robster | 2017-04-27 23:03