I'm having trouble building apk. I've read the requirements, the installation that is needed and so far I ended up with:
Build API 29
minimum : 4.0/4.0.1/4.0.2
Target Android 10 (I tested 8 also, no luck)
In Preferences-General I defined the path of JDK
I installed the Android Studio and set the SDK to there:
I'm getting the following message:
FAILURE: Build failed with an exception.
* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
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 0s