Hi community, I'm getting this lintVitalRelease er...
# compose-android
m
Hi community, I'm getting this lintVitalRelease error during my app release build. My java Version is 11 while my compose version is 1.4.7 and kotlin 1.8.21 Task applintVitalAnalyzeRelease Could not load custom lint check jar file \Users\MIC O\.gradle\caches\transforms-3\615125d2406d82ceadc89fba942ee668\transformed\ui-graphics-release\jars\lint.jar java.lang.UnsupportedClassVersionError: androidx/compose/ui/graphics/lint/UiGraphicsIssueRegistry 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 at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
j
55 is Java 11, 61 is Java 17. The newest AGP requires Java 17, so they probably build using a newer AGP than you. You should update.
m
Thanks