Yet again returning to my old speech therapy app (doing well out there).
I thought of not having go through Android Studio each time building an .aab archive, so I tried building one in the Gideros Exporter. But I get this every time:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not open proj generic class cache for build file 'D:\Google Drive\DPX\Exports Android\Ljuda med Boo\tmp\app\build.gradle' (C:\Users\thoma\.gradle\caches\7.5\scripts\eq8cj0qydz2r5e73s4tusmb0r).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63
I have no idea what went wrong. It seems to be something with gradle (don't know how that works, should I?). A "normal" export works without issues. Any ideas, anyone?
Comments
from here it appears it is a java version issue
https://stackoverflow.com/questions/68597899/bug-exception-in-phase-semantic-analysis-in-source-unit-buildscript-unsup
and there is also this
https://stackoverflow.com/questions/32513740/gradle-build-failure-could-not-open-proj-class-cache-for-build-file
Likes: saeys
But then again, there is also a 8.0 folder, and also this message (whatever that means):
Does Gradle use different versions of itself in the same process?
I guess I need to downgrade my Java to test my luck.
I don't know if that might help but I specified SDK dir and JDK dir using those coming with android studio
C:\Users\USER\AppData\Local\Android\Sdk
C:/Program Files/Android/Android Studio1/jbr
Likes: MoKaLux
Oh, so I don't actually need a separate Java install since there is already one included in Android Studio install?
Thanks a lot guys!
Likes: MoKaLux