I've not built for Android in a while, and since I last did, I've upgraded to a new macBook which means everything been installed afresh:
Livecode 9.6.11
Android Studio Hedgehog 2023.1.1 Patch 2
JRE 1.8.0_401
Now when I try building for Android I get the following error message:
Additionally, when I check the Mobile Deployment settings in LiveCode the JDK Path is blank.There was an error while saving the standalone application could not encode class bundle - error:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
com/android/tools/r8/D8 has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
So, if I downgrade Android Studio to an older version, will this fix the problem or is something else afoot?
Really appreciate any pointers.
Thanks all.
Al.