You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had an investigation on this issue.
This issue seems related to detekt as library.
This issue that comes from the dependency seems that is already solved here:
Support Jvm 22 detekt/detekt#7458
As mentioned this will be solved with the next release of Detekt. Right now we are running the detekt = "1.23.7" that is already the latest as of today
Task - New macbooks have Java 21 installed instead of Java 17 by default….
app
module needs to be upgraded to support this.The error you get is this if it’s not fixed
Invalid value (21) passed to --jvm-target, must be one of [1.6, 1.8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18]
Temporary workaround...switch gradle to use Java 17 in Android Studio
Also you can to add to your
gradle.properties
,org.gradle.java.home=/opt/homebrew/opt/openjdk@17
The text was updated successfully, but these errors were encountered: