-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Description
Steps to reproduce
- Build flutter
- Run in embedded device
- Run with
LD_LIBRARY_PATH=/usr/share/flutter/3.32.5/release/lib/ flutter-client -b /usr/share/flutter/flutter-samples-simplistic-calculator/3.32.5/release
Actual results
I know that Flutter has two kinds of plugins, one is downloaded from pub.dev and the other is cloned from git. I'm now building flutter with meta-flutter for embedded platform and facing a problem of missing plugins when running flutter cases.
I can't figure out how do these plugins work in flutter? As the pub.dev says, I only need run 'flutter pub get' and the plugin can work. But actually meta-flutter's behavior is that downloaded plugins are stored in a folder named pub_cache and not installed into image which confuses me how these plugins work. Is it compiled into the library (it seems to be only for plugins downloaded from git) and installing in /usr/lib or is it just necessary to put the content of pub_cache into image with specific path?
This is critical for me because all our flutter cases can not work with plugins. So it should be a conpile/install issue.
Logs
Logs
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: MissingPluginException(No implementation found for method setWindowTitle on channel flutter/windowsize)
Flutter Doctor output
None