How can I package all the referenced Android .so files into the APK when exporting an Android package in Godot 4 using C# so that the APK runs correctly?

Godot Version

4.3rc

Question

In my .NET project, I have referenced some third-party components that include Android packages. However, when packaging and exporting in Godot 4, the referenced .so files are not found. How can I conveniently handle this issue.

Packaging in Godot is the same as in any other .NET project, when exporting a game the editor just executes dotnet publish and then copies all the output files to the APK.

How are you referencing those .so files? See Native files in .NET packages | Microsoft Learn for more information about packaging native files in a .NET project.