Skip to content

[Bug]: libUnrealFlutterBridge.so not ships with generated .apk file #1

@arxdeus

Description

@arxdeus

Which package is affected?

gameframework_unreal

Bug Description

Hi, during reproduction of the EMBEDDING_GUIDE.MD i just noticed that my Unreal Engine .apk doesn't contains libUnrealFlutterBridge.so file

i tried to run my project without this file, flutter build apk --release went succesfull, but after opening the screen with GameWidget - application immediatly closes

logcat prints that libUnrealFlutterBridge.so not found

FlutterPlugin is imported to project, FlutterBridge actor is placed on the scene, everything looks correct

Steps to Reproduce

Expected Behavior

Unreal Engine .apk should contain libUnrealFlutterBridge.so

Actual Behavior

Image

Code Sample

Logs / Error Messages

02-13 03:14:08.181  8558  8558 D nativeloader: Load libUnrealFlutterBridge.so using class loader ns clns-9 (caller=/data/app/~~Eb7ZvO1jZ8aAkOxYXV26ww==/cc.blablabla.mobile-tymw-xxx==/base.apk): dlopen failed: library "libUnrealFlutterBridge.so" not found

Platform(s) Affected

Android

Flutter Version

Flutter 3.41.0

Package Version

0.0.3

Game Engine (if applicable)

Unreal Engine

Engine Version (if applicable)

Unreal Engine 5.7.3

Additional Context

No response

Pre-submission Checklist

  • I have searched for existing issues
  • I have provided a minimal code sample
  • I have included relevant logs/error messages
  • I am using the latest version of the package

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions