美文网首页Vue3
flutter_webview_plugin遇到报错解决办法

flutter_webview_plugin遇到报错解决办法

作者: testerzhang | 来源:发表于2021-12-15 20:00 被阅读0次

问题:

The plugin `flutter_webview_plugin` uses a deprecated version of the
Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see
if this plugin supports the Android V2 embedding. Otherwise, consider
removing it since a future release of Flutter will remove these deprecated
APIs.
If you are plugin author, take a look at the docs for migrating the plugin
to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

解决方案:

pubspec.yaml 对于flutter_webview_plugin配置项改成下面这样

dependencies:
  flutter_webview_plugin:
    git: https://github.com/nuc134r/flutter_webview_plugin.git

欢迎关注我的公众号testerzhang,原创技术文章第一时间推送。

相关文章

网友评论

    本文标题:flutter_webview_plugin遇到报错解决办法

    本文链接:https://www.haomeiwen.com/subject/xdipfrtx.html