Hello team, I'm working on a very old project with the following configuration: Flutter v1.22.6, Gradle v5.6.2, Gradle plugin v.3.5.0, Android compileSdkVersion 28. I downgraded my Java to Java 8 (jdk 1.8) While building the app i got this error. FAILURE: Build failed with an exception.
* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
* 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 651ms
Exception: Gradle task assembleDebug failed with exit code Must have been some kind of mismatch versions, incompatibility etc. Hope i can get help here