im triying to build a flutter app but whenever i click on run i get this error message:
- What went wrong:
Could not create an instance of type org.gradle.invocation.DefaultGradle.
Could not configure services using GradleScopeCompileServices.configure().
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
im on windows 10
java version 8 update 281
tried with android studio and Vscode
Source: Android Questions