Closed pld closed 8 months ago
@rkareko I'm getting General error during conversion: Unsupported class file major version 64
when running ./gradlew spotlessApply
on my cl, any hints?
@Rkareko I'm getting
General error during conversion: Unsupported class file major version 64
when running./gradlew spotlessApply
on my cl, any hints?
This could be an issue caused by the version of java set in the gradle settings of android studio. We currently use Java 11.
This can be set by navigating to the Settings/Preferences dialog, go to Build, Execution, Deployment → Build Tools → Gradle
.
Then set the Gradle JDK to java 11 or 17
There is also the fix that had been tried earlier i.e opening the p2p project in Android Studio, then going back to the command line and running it
might also work
k thanks, let me try and figure this out
yep opening it in Android Studio did it, thanks
IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #[issue number]
Type Choose one: (Bug fix | Feature | Documentation | Testing | Code health | Release | Other)
Checklist
strings.xml
file./gradlew spotlessApply
and./gradlew spotlessCheck
to check my code follows the project's style guide