Open sukhkmr19 opened 2 years ago
This is preventing me from building my app's APK. Although I'm still able to simulate IOS devices. Is this the same for you?
so many issues referring to this one lately... should merge the issues: #930 , #932 , #933 etc.
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
This is not working for me. This is what I get:
`Error: Cannot run with sound null safety, because the following dependencies don't support null safety:
For solutions, see https://dart.dev/go/unsound-null-safety Error: Cannot run with sound null safety, because the following dependencies don't support null safety:
For solutions, see https://dart.dev/go/unsound-null-safety
*********************************************************
WARNING: This version of flutter_webview_plugin will break your Android build if it or its dependencies aren't compatible with AndroidX. See https://goo.gl/CP92wY for more information on the problem and how to fix it. This warning prints for all Android build failures. The real root cause of the error may be unrelated.
FAILURE: Build failed with an exception.
Where: Script '/Users/marco/Applications/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1005
What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command '/Users/marco/Applications/flutter/bin/flutter'' finished with non-zero exit value 1
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 18s Exception: Gradle task assembleDebug failed with exit code 1`
try it :
flutter_webview_plugin:
git: https://github.com/snoopdoggy322/flutter_webview_plugin
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.Please fix