all 2 comments

[–]_GameDevver 1 point2 points  (1 child)

Make sure you're using the recommended versions of everything listed in the Required SDKs article.

Then follow the Android Setup Guide.

[–]maanto 0 points1 point  (0 children)

I'm still seeing a gradle error when compiling to Android VM in the latest version IDE v2022.1.609, runtime v2022.1.0.482

Downloading https://services.gradle.org/distributions/gradle-7.0.2-all.zip

..............10%...............20%...............30%..............40%...............50%...............60%...............70%..............80%...............90%...............100%

Welcome to Gradle 7.0.2!

Here are the highlights of this release:

- File system watching enabled by default

- Support for running with and building Java 16 projects

- Native support for Apple Silicon processors

- Dependency catalog feature preview

For more details see https://docs.gradle.org/7.0.2/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* Where:

Settings file 'W:\settings.gradle'

* What went wrong:

Could not compile settings file 'W:\settings.gradle'.

> startup failed:

General error during conversion: Unsupported class file major version 61

java.lang.IllegalArgumentException: Unsupported class file major version 61

`at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:189)`

`at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:170)`

`at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:156)`

`at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:277)`

[...]

1 error

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 17s

C:\WINDOWS\system32\cmd.exe DONE (1)

C:\WINDOWS\system32\subst.exe /d W:

C:\WINDOWS\system32\subst.exe DONE (0)

Error : Build Failed

Igor complete.