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

Compile Android platform package error #92

Open
Block-zl opened this issue Jan 6, 2025 · 1 comment
Open

Compile Android platform package error #92

Block-zl opened this issue Jan 6, 2025 · 1 comment

Comments

@Block-zl
Copy link

Block-zl commented Jan 6, 2025

E/flutter (26183): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libagent_dart.so': dlopen failed: library "libagent_dart.so" not found
E/flutter (26183): #0      _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11:43)
E/flutter (26183): #1      new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:22:12)
E/flutter (26183): #2      new ExternalLibrary.open (package:flutter_rust_bridge/src/platform_types/_io.dart:42:47)
E/flutter (26183): #3      loadExternalLibraryRaw (package:flutter_rust_bridge/src/loader/_io.dart:56:28)
E/flutter (26183): #4      loadExternalLibrary (package:flutter_rust_bridge/src/loader/_io.dart:14:10)
E/flutter (26183): #5      BaseEntrypoint._loadDefaultExternalLibrary (package:flutter_rust_bridge/src/main_components/entrypoint.dart:141:13)
E/flutter (26183): #6      BaseEntrypoint.initImpl (package:flutter_rust_bridge/src/main_components/entrypoint.dart:48:31)
E/flutter (26183): #7      AgentDart.init (package:agent_dart_ffi/src/frb_generated.dart:32:20)
E/flutter (26183): #8      main (package:icpwallet/main.dart:13:21)
E/flutter (26183): #9      _runMain.<anonymous closure> (dart:ui/hooks.dart:301:23)
E/flutter (26183): #10     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
E/flutter (26183): #11     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
@AlexV525
Copy link
Contributor

AlexV525 commented Jan 6, 2025

Could you delete the build folder under your project and provide the full log as a text file with flutter run -v?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants