I've been using Flutter on Android Studio. Today, I updated it and everything went downhill.
I've been having different errors throughout my attempt to fix this.
First error: could not initialize class org.codehaus.groovy.runtime.invokerhelper
Second error: could not initialize class org.codehaus.groovy.reflection.ReflectionCache
Anyways, I've been researching and I've done the following
- Updated Java SDK.
- Updated JRE
- Added necessary paths to environment variables
- Updated Gradle
But nothing is still working and I cannot run my project. Please help?




