Hi All, Apologies that this isn't a Kotlin based question but needed to get some help quite quickly and google is failing me.
In my Android studio I am using the JetBrains instance of Java 17, But, when I try to do a command line gradle build its using a different JVM. its picked up an instance of JVM 21 I have on my device. but I have no idea why its doing that. it means I get a load of errors when I compile and not the --info --stacktrace that im trying to get from my error in Android Studio.
Any ideas?, the only thing I can think of is that I downloaded the latest version of Android studio but it was having issues for me so I downgraded back to Girrafe and that some sort of config has messed up.