I have a hard time solving an error. When I try to run my flutter app the first time, this error occurs: I have seen others struggling with the same issue, and asking for help, but after trying all the possible solutions mentioned, I haven't had any success. What I've tried:
- reinstalling Android Studio
- reinstalling Android SDK build-tools, Android SDK command-line tools, Android emulator hypervisor driver
- tried different virtual devices
- tried running flutter upgrade but it was the latest version
- upgraded to java 17 (jdk-17.0.14.7-hotspot)
- even updated Visual Studio Code A picture of my SDK Tools currently:
I have another problem, I'm not sure if these correlate at all, but I also have a warning with dependencies. I deleted every dependency I added myself(e.g. provider, so it only checks the default dependencies) in my pubspec.yaml, and saved it.
When I run flutter pub outdated, I get the following:
I think it is a good idea to show you my flutter doctor -v (it might help)
Any help is greatly appreciated, thank you!