· Digit Pixels

Webview dependencies problem

Troubleshooting

I wanted to use the webview widget, but now I've removed it because the use I wanted to make of it is not supported. Problem: Now I can't compile my application, and this error keeps appearing in the console:


Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... Upgrading build.gradle Running Gradle task 'assembleDebug'... Running Gradle task 'assembleDebug'... 2 916ms FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring project ':webview_flutter_android'. > Could not load compiled classes for build file 'C:\Users\loicd\AppData\Local\Pub\Cache\hosted\pub.dev\webview_flutter_android-3.16.7\android\build.gradle' from cache. > Failed to notify project evaluation listener. > Could not get unknown property 'android' for project ':webview_flutter_android' of type org.gradle.api.Project. > Could not get unknown property 'android' for project ':webview_flutter_android' of type org.gradle.api.Project. 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. BUILD FAILED in 2s Error: Gradle task assembleDebug failed with exit code 1


Yet the widget is no longer used anywhere in the project, it's no longer present in Flutterflow in the pubspec dependence tab, but when I export the code it's still present pubspec.yaml

My app still work in test mode , just not on local run or when ui wan to build an apk

What have you tried so far?

I've trying to remove these depednance manually when the code was exporting but it will be overridden when i recompile

Did you check FlutterFlow's Documentation for this topic?
Yes
2