Closed ahmedre closed 3 years ago
hello,
i have the same issue here, the second workaround doesn't work, but how to update to java 11
for the second workaround, try it again (adding those 3 lines in your main build.gradle
, and then do a ./gradlew --refresh-dependencies
.
for the first one, just install java 11 on your machine and set it as the default jdk and build with it.
i pushed 1.2.1 that should fix this now.
a bit too late to fix this now for 1.2.0 itself, but should fix this in 1.2.1 to make sure it requires java 8 and above instead of java 11 and above (though it's not an unreasonable stretch given that the latest Canary Android Studio requires Java 11 for builds anyhow and anyone working on a server or desktop environment shouldn't use such old versions of Java anyway).
two workarounds for people hitting this in the meanwhile: