Trying to update a [email protected]
to [email protected]
app.
I updated Java JDK to version 17. Have installed Android SDK 34 and build tools. I have restarted my computer. I updated the target SDKs in the config such as
<preference name="android-minSdkVersion" value="24" />
<preference name="android-maxSdkVersion" value="34" />
<preference name="android-targetSdkVersion" value="34" />
Per the blog post / documentation
But then it does not build anymore
Checking Java JDK and Android SDK versions
ANDROID_HOME=D:ServerSERVERANDROID (recommended setting)
ANDROID_SDK_ROOT=D:ServerSERVERANDROID (DEPRECATED)
Using Android SDK: D:ServerSERVERANDROID
Using Gradle: 8.7
FAILURE: Build failed with an exception.
* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
> Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache [in thread "Daemon worker"]
Any idea?