Message passing not the same on Mac and Android

Okay, I have a problem here which I am just starting to investigate, and it’s going to take me a while. But, I need to check two things:

  • How to enable console on android
  • Reasons why a message pass would not happen on an android (even though it happens on a mac)

Thank you and I will keep you updated!

Check the logcat on the android for any error that aborts execution prior to the message pass call.

See Debugging in Defold

Hi Sicher,

because of the control system I am using (USBOTG controller), I have no way of connecting the tablet via USB.

For now I have changed the program sufficiently to avoid this problem.

I will further investigate when i don’t have so many other priorities.

Thanks for your help

You can enable logging to file by setting the “Write Log” setting in “game.project”, any game output will then be written to disk, to a file called “log.txt", which you should be able to dig out after you run the game.

You can see the engine log in the editor if you run a non-release .apk file on your Android, and then connect to it via the editor. More info here

You can for instance always download the latest release of dmengine.apk here: http://d.defold.com/stable/

Install it, start it, then connect to it via the editor (need to be on the same network)

(Same goes for iOS, but you’ll also have to do the “Sign and Upload” step)

1 Like