How to debug v2 android plugins

Godot Version

4.3

Question

Hi, I have a few old plugins for Godot 4.1 and 3.5 and I want to use them in Godot 4.2+, so I follow the document,
the problem is my game crashes instantly without showing any log or error, I try “adb logcat -s godot” and remote debug but nothing.
so how can I find the problem?

I think you may need to designate a log level, like godot:E but the app tag needs to match the Godot app.

So I would do something like logcat *:E | grep -i godot as I’m not sure what the app tag is.

Also -c clears the buffer so if you do this after it crashed it will delete the logs.

I mean -s not -c

ok, I figured out in the public Set<SignalInfo> getPluginSignals() I forgot to change the return value to my signals, this caused my game to crash

1 Like