Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load dynamic library 'libwebf.so' #1473

Open
HXiaoMing opened this issue Feb 19, 2024 · 0 comments
Open

Failed to load dynamic library 'libwebf.so' #1473

HXiaoMing opened this issue Feb 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@HXiaoMing
Copy link

使用的 Kraken 版本 | What version of kraken are you using

webf: 0.16.0-beta.1
Flutter version 3.13.6

重现步骤 | Steps To Reproduce

1.clone https://github.com/openwebf/webf.git项目
2.直接运行webf example

重现代码 | Code example:
webf 的 example

预期结果 | Expected results:
运行没有出现异常。

实际结果 | Actual results:
E/flutter ( 4483): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libwebf.so': dlopen failed: library "libwebf.so" not found
E/flutter ( 4483): #0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11:43)
E/flutter ( 4483): #1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:22:12)
E/flutter ( 4483): #2 WebFDynamicLibrary.ref (package:webf/src/bridge/dynamic_library.dart:56:52)
E/flutter ( 4483): #3 _initDartIsolateContext (package:webf/src/bridge/to_native.dart:495:79)
E/flutter ( 4483): #4 _initDartIsolateContext (package:webf/src/bridge/to_native.dart)
E/flutter ( 4483): #5 initDartIsolateContext (package:webf/src/bridge/to_native.dart:503:10)
E/flutter ( 4483): #6 new DartContext (package:webf/src/bridge/bridge.dart:16:29)
E/flutter ( 4483): #7 initBridge (package:webf/src/bridge/bridge.dart:31:19)
E/flutter ( 4483): #8 WebFViewController.initialize (package:webf/src/launcher/controller.dart:194:24)
E/flutter ( 4483): #9 new WebFController (package:webf/src/launcher/controller.dart:969:11)
E/flutter ( 4483): #10 FirstPageState.didChangeDependencies (package:webf_example/main.dart:43:18)
E/flutter ( 4483): #11 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5448:11)
E/flutter ( 4483): #12 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5273:5)
E/flutter ( 4483): #13 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4182:16)
E/flutter ( 4483): #14 Element.updateChild (package:flutter/src/widgets/framework.dart:3707:18)

@HXiaoMing HXiaoMing added the bug Something isn't working label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant