Topic was automatically imported from the old Question2Answer platform.
Asked By
azurvii
Old Version
Published before Godot 3 was released.
Is it possible to debug apps running on Android through Godot tools? (hint: I’m not an experienced android dev, and I don’t know much about doing this without Godot either)
When my app is running on an Android, it fails almost surely when I add in a feature, which presumably was due to Android permission. The problem I have is that I don’t know on which permission the app was dying.
In that case, you need to see adb logs.
You can see logs with android-sdk-windows/tools/monitor.bat
In an app I’m working on I have a screen to which I output debug messages and it can be accessed via a button that’s only available in debug builds (which can be checked for in GDScript). This won’t work if the app force closes however. Another approach might be to output a text log file.
In case someone wants this.
I check deploy with remote debug in Debug → deploy with remote debug
In my android phone I turn on Debug in Developer options