go-flutter
go-flutter copied to clipboard
Hover failing to load dynamic library for dart_vlc
Hover doctor
hover: Hover version v0.46.6 running on linux
hover: Sharing packaging tools
hover: darwin-bundle is supported
hover: darwin-dmg is supported
hover: To package darwin-pkg these tools are required: mkbom,xar,cpio
hover: Install bomutils from your package manager or from https://github.com/hogliux/bomutils
hover: Install xar from your package manager or from https://github.com/mackyle/xar
hover: Install cpio from your package manager
hover: To still package darwin-pkg without the required tools installed you need to run hover with the `--docker` flag.
hover: To package linux-appimage these tools are required: appimagetool
hover: Install appimagetool from your package manager or from https://github.com/AppImage/AppImageKit#appimagetool-usage
hover: To still package linux-appimage without the required tools installed you need to run hover with the `--docker` flag.
hover: To package linux-deb these tools are required: dpkg-deb
hover: You need to be on Debian, Ubuntu or another distro that uses apt/dpkg as package manager to use this. Installing dpkg on other distros is hard and dangerous.
hover: To still package linux-deb without the required tools installed you need to run hover with the `--docker` flag.
hover: linux-pkg is supported
hover: To package linux-rpm these tools are required: rpmbuild
hover: You need to be on Red Hat Linux or another distro that uses rpm as package manager to use this. Installing rpmbuild on other distros is hard and dangerous.
hover: To still package linux-rpm without the required tools installed you need to run hover with the `--docker` flag.
hover: To package linux-snap these tools are required: snapcraft
hover: Install snapd from your package manager or from https://snapcraft.io/docs/installing-snapd
hover: To still package linux-snap without the required tools installed you need to run hover with the `--docker` flag.
hover: To package windows-msi these tools are required: wixl
hover: Install msitools from your package manager or from https://wiki.gnome.org/msitools/
hover: To still package windows-msi without the required tools installed you need to run hover with the `--docker` flag.
hover:
hover: Sharing flutter version
Flutter 2.7.0-3.0.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision c19845a8c3 (6 days ago) • 2021-10-19 10:58:42 -0700
Engine • revision bbba2b2437
Tools • Dart 2.15.0 (build 2.15.0-178.1.beta)
hover: Flutter engine commit: https://github.com/flutter/engine/commit/bbba2b2437d739a455ecafb66a22a46d31b233ed
hover: Finding out the C compiler version
gcc (GCC) 11.1.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
hover: Sharing the content of go.mod
module LoliSnatcher/go
go 1.15
require (
github.com/go-flutter-desktop/go-flutter v0.42.0
github.com/pkg/errors v0.9.1
)
hover: Sharing the content of hover.yaml
application-name: ""
executable-name: ""
package-name: ""
organization-name: ""
license: ""
target: lib/main_desktop.dart
branch: ""
cache-path: ""
opengl: ""
engine-version: ""
hover: Sharing the content of go/cmd
go/cmd/main.go go/cmd/options.go
Error output
Using hover run
to run my application, I get the following
error:
hover run
hover: Using engine from cache
hover: Cleaning the build directory
hover: Bundling flutter app
💪 Building with sound null safety 💪
hover: Missing/Empty `organization-name` field in go/hover.yaml. Please add it or otherwise you may publish your app with a wrong organization-name. Continuing with `` as a placeholder organization-name.
hover: Compiling 'go-flutter' and plugins
hover: Successfully compiled executable binary for linux
hover: Build finished, starting app...
hover: Running LoliSnatcher in debug_unopt mode
flutter: Observatory listening on http://127.0.0.1:50300/
hover: Connecting hover to 'LoliSnatcher' for hot reload
go-flutter: calculated pixelRatio limited to a minimum of 1.0. metrics: {"dpi":92.01509433962264,"monitorWidthMm":530,"monitorWidthSc":1920,"mscpi":92.01509433962264,"pixelRatio":0.5750943396226414,"ppsc":1,"windowWidthPx":1280,"windowWidthSc":1280}
[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library '/home/kannalo/AndroidStudioProjects/loli/go/build/outputs/linux-debug_unopt/lib/libdart_vlc_plugin.so': /home/kannalo/AndroidStudioProjects/loli/go/build/outputs/linux-debug_unopt/lib/libdart_vlc_plugin.so: cannot open shared object file: No such file or directory
#0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:12:43)
#1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:23:12)
#2 DartVLC.initialize (package:dart_vlc_ffi/src/internal/initializer.dart:19:39)
#3 DartVLC.initialize (package:dart_vlc/dart_vlc.dart:103:19)
#4 main (package:LoliSnatcher/main.dart:40:13)
#5 main (package:LoliSnatcher/main_desktop.dart:5:17)
#6 main (file:///home/kannalo/AndroidStudioProjects/loli/.dart_tool/flutter_build/generated_main.dart:55:42)
#7 _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:127:38)
#8 _rootRun (dart:async/zone.dart:1428:13)
#9 _CustomZone.run (dart:async/zone.dart:1328:19)
#10 _runZoned (dart:async/zone.dart:1863:10)
#11 runZonedGuarded (dart:async/zone.dart:1851:12)
#12 _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:125:5)
#13 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
#14 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
Syncing files to device Flutter test device... 7.7s
Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
💪 Running with sound null safety 💪
An Observatory debugger and profiler on Flutter test device is available at: http://127.0.0.1:36805/HnDxKybKh-A=/
The Flutter DevTools debugger and profiler on Flutter test device is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:36805/HnDxKybKh-A=/
go-flutter: closing application
Lost connection to device.
hover: App 'LoliSnatcher' exited.
hover: Closing the flutter attach sub process..