問題:
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
歡迎關(guān)注我的公眾號testerzhang,原創(chuàng)技術(shù)文章第一時間推送竟宋。