Hi, and thanks for the great work on this plugin!
I’m encountering a java.lang.UnsatisfiedLinkError when using flutter_angle in my Flutter application. The crash occurs during plugin deinitialization, and it seems related to the native library not being properly loaded.
Stack trace
Exception java.lang.UnsatisfiedLinkError: No implementation found for void org.fluttergl.flutter_angle.FlutterAnglePlugin.deinit() (tried Java_org_fluttergl_flutter_1angle_FlutterAnglePlugin_deinit and Java_org_fluttergl_flutter_1angle_FlutterAnglePlugin_deinit__) - is the library loaded, e.g. System.loadLibrary?
at org.fluttergl.flutter_angle.FlutterAnglePlugin.deinit
at org.fluttergl.flutter_angle.FlutterAnglePlugin.onDetachedFromEngine (SourceFile:47)
at g8.b.t (SourceFile:63)
at g8.b.u (SourceFile:17)
at g8.b.v (SourceFile:12)
at g8.b.i (SourceFile:11)
at io.flutter.embedding.engine.a.h (SourceFile:32)
at f8.e.u (SourceFile:115)
at f8.i.d1 (SourceFile:15)
at n0.p.F1 (SourceFile:7)
at n0.O.i (SourceFile:34)
at n0.O.m (SourceFile:292)
at n0.Z$c.e (SourceFile:13)
at n0.Z$d.c (SourceFile:25)
at n0.Z.q (SourceFile:217)
at n0.I.T (SourceFile:33)
at n0.I.E (SourceFile:14)
at n0.y.f (SourceFile:7)
at n0.u.onDestroy (SourceFile:6)
This error happens on some Android devices with different Android versions where it appears that ANGLE or the required native components are not available. The plugin attempts to invoke deinit(), but the underlying native implementation cannot be found, causing the app to crash.
Is there a safe way to check whether the device supports or the native library is available before initializing the plugin?
Ideally, something like:
• A public method to query support (e.g. FlutterAngle.isSupported())
• A try/catch-safe initialization path
• Or documentation on how to validate availability before calling into the plugin
This would help avoid app crashes on unsupported devices.
Please let me know if I can provide additional logs, environment details, or whatever.
Thanks!
Hi, and thanks for the great work on this plugin!
I’m encountering a java.lang.UnsatisfiedLinkError when using flutter_angle in my Flutter application. The crash occurs during plugin deinitialization, and it seems related to the native library not being properly loaded.
Stack trace
This error happens on some Android devices with different Android versions where it appears that ANGLE or the required native components are not available. The plugin attempts to invoke deinit(), but the underlying native implementation cannot be found, causing the app to crash.
Is there a safe way to check whether the device supports or the native library is available before initializing the plugin?
Ideally, something like:
• A public method to query support (e.g. FlutterAngle.isSupported())
• A try/catch-safe initialization path
• Or documentation on how to validate availability before calling into the plugin
This would help avoid app crashes on unsupported devices.
Please let me know if I can provide additional logs, environment details, or whatever.
Thanks!