Open chandaniBhalala opened 2 years ago
The plugins `flutter_webview_plugin` use a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing
them 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.
I have the same issue and the same log as @mustafa-707, so I'll add flutter doctor -v
[√] Flutter (Channel stable, 2.5.2, on Microsoft Windows [Versión 10.0.19043.1110], locale es-ES)
• Flutter version 2.5.2 at c:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 3595343e20 (4 days ago), 2021-09-30 12:58:18 -0700
• Engine revision 6ac856380f
• Dart version 2.14.3
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at c:\android\android_sdk\
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = c:\android\android_sdk\
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
[√] VS Code, 64-bit edition (version 1.57.0)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 3.25.0
[√] Connected device (3 available)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 94.0.4606.71
• Edge (web) • edge • web-javascript • Microsoft Edge 94.0.992.38
• No issues found!
try this
dependencies:
flutter_webview_plugin:
git: https://github.com/nuc134r/flutter_webview_plugin.git
try this
dependencies: flutter_webview_plugin: git: https://github.com/nuc134r/flutter_webview_plugin.git
If i add this into my yaml file, it says
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:
- package:flutter_webview_plugin
For solutions, see https://dart.dev/go/unsound-null-safety
Any update on this?
Duplicate of #921
Any update on this.
After update flutter version to 2.5 my app was broken because flutter_webview_plugin not using v2 Android embedding. So, could you please update this package?