Android原生项目新建了flutter module,然后引入其他flutter project中的一些依赖,执行flutter pub get 提示:

flutter pub get
Git error. Command: `git fetch`                                         
stdout:                                                                 
stderr: fatal: unable to access 'https://github.com/polkawallet-io/ui.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
exit code: 128                                                          
pub get failed (server unavailable) -- attempting retry 1 in 1 second...
Git error. Command: `git fetch`                                         
stdout:                                                                 
stderr: fatal: unable to access 'https://github.com/AcalaNetwork/polkawallet_plugin_acala.git/': Failed to connect to github.com port 443: Connection timed out
exit code: 128                                                          
pub get failed (server unavailable) -- attempting retry 2 in 2 seconds...
Running "flutter pub get" in polkawallet...                       267.7s
The plugin `flutter_aes_ecb_pkcs5` is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have undefined behaviors when Flutter is integrated into an existing app as a module.
The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration.
The plugin `flutter_qr_scan` is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have undefined behaviors when Flutter is integrated into an existing app as a module.
The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration.
The plugin `flutter_webview_plugin` is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have undefined behaviors when Flutter is integrated into an existing app as a module.
The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration.

但是测试时并没有什么问题,可以正常执行,暂时不用处理,只是插件版本升级相关的提示。

关于 flutter_webview_plugin 可以参考:
flutter_webview_plugin插件的使用

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐