Generating a new blank project using Giraffe 2022....
# android-studio
s
Generating a new blank project using Giraffe 2022.3.1 Canary 1 results in the project not even syncing, with the error shown:
Copy code
A build operation failed.
    com/android/sdklib/repository/legacy/LegacyDownloader has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
com/android/sdklib/repository/legacy/LegacyDownloader has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
I understand that it doesn’t like which JVM version is used somewhere somehow (61 -> Java 17, 55 -> Java 11 btw) but couldn’t find something in AS preferences. Any ideas?
AGP ->
8.1.0-alpha01
Gradle ->
distributionUrl=https\:<//services.gradle.org/distributions/gradle-8.0-rc-1-bin.zip>
Opened another project with that AS version which I knew works in stable AS, then opened this again and it worked. No idea why tbh, oh well…
310 Views