引入Flutter module,执行flutter pub get提示:XXX using an older version of the Android plugin API
Android原生项目新建了flutter module,然后引入其他flutter project中的一些依赖,执行flutter pub get 提示:flutter pub getGit error. Command: `git fetch`stdout:stderr: fatal:
·
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插件的使用
更多推荐
已为社区贡献41条内容
所有评论(0)