m4gr3d / Godot-Android-Samples

Collection of Godot Android plugins
MIT License
43 stars 6 forks source link

Update the logic to package the plugins #5

Closed m4gr3d closed 1 year ago

m4gr3d commented 1 year ago

The current logic causes the export scripts to appear both within the addon that's used by the editor and within the plugin AAR binary. This causes conflict at export time as both set of scripts (one coming from the editor addon directory and the other from the plugin AAR binary) attempt to overwrite each other, and causes the AAB export to fail.

To resolve the issue, the export scripts are removed from the plugin AAR binary as they serve no purpose there.

Fixes https://github.com/godotengine/godot/issues/85395