Can't Run Plugin in Android Editor (works when exported as an APK)

Godot Version

v4.6.2.stable.official [71f334935]

Question

Hi, I’m using the Android editor and I tried installing the Epic Online Services Godot extension - Epic Online Services Godot (EOSG) - Godot Asset Library

It unfortunately wasn’t working so I tried digging into it. Desktop is able to use the extension without a problem, as well as export it to Android. With GABE from Godot 4.6, I’m able to build and export the Android APK right from the Android editor as well, and it all appears to work. It’s just that the Android editor isn’t able to load the plugin so I can’t use the plug in without blocking myself from being able to run anything locally. Only the export can be tested. I don’t know enough about this to know why, but the extension does support Android and I can see the .aar file that contains the native code library. Even if none of my code uses the plug in, simply having the plug in files, regardless of whether it’s enabled in the project or not, causes errors.

Anyways, I was wondering if anyone else had come across this sort of an issue and if there is a fix or workaround.

Here is some of the error output:

ERROR: Can’t open dynamic library: /storage/emulated/0/Documents/rifter/test-repos/test-eos/addons/epic-online-services-godot/bin/android/libeosg.android.template_debug.dev.arm64.so. Error: dlopen failed: library “libEOSSDK.so” not found: needed by /data/data/org.godotengine.editor.v4/cache/dynamic_libraries/storage/emulated/0/Documents/rifter/test-repos/test-eos/addons/epic-online-services-godot/bin/android/libeosg.android.template_debug.dev.arm64.so in namespace clns-9.

ERROR: Can’t resolve symbol eosg_library_init. Error: undefined symbol: eosg_library_init.

ERROR: core/extension/gdextension_library_loader.cpp:224 - GDExtension entry point ‘eosg_library_init’ not found in library .

-– Debugging process stopped —

ERROR: res://addons/epic-online-services-godot/heos/hp2p.gd:25 - Parse Error: Identifier “IEOS” not declared in the current scope.