Cannot get Log from android device (SOLVED)

Hi everyone,
This is my first question so sorry if I’m missing something on how to behave properly.

I’m trying to create an android application but I’m stuck at logging messages and reading them from my logcat session

I’ve added in the main script a print such as

    print("**** MAIN HAS STARTED ****")

and if I build and run the game it properly prints on my desktop environment,
but when I try to create a bundle and deploy it to my android device it doesn’t print anything.

I’ve enabled the Debug mode on the android device.
I’m starting the logcat session as follows:

    adb logcat -s "defold"

anyway this is the only output that I get when I start the bundle:

--------- beginning of crash
--------- beginning of system
--------- beginning of main

Did you check with showing the log without the filtering on ”defold” to make sure that the filter is correct and not hiding the information you want?

Yes, Done.
It doesn’t show up…

EDIT: @SOLVED! It was creating the bundle with the release mode on, thank you for the attention

1 Like