> SOLVED! Solution Added to my buildSrc gradle...
# android-studio
e
SOLVED!
Solution Added to my buildSrc gradle file:
Copy code
kotlin {
  jvmToolchain(17)
}
I'm guessing I either need to download 20. 17 works fine for my use-case Question I just updated to Hedgehog Canary 10, which requires AGP
8.2.0-alpha10
, but I'm getting an error that ends with
Unknown Kotlin JVM target: 20
Is this a known issue? I can see it's related to my buildsrc library.
c
Not sure but does your project actually require 8.2.0-alpha10?
e
I don't think so. Although I usually run the latest canary to help test it out. It looks like the issue is with the buildsrc library. Do you happen to know the syntax to specify the jvm version for it?
I think I might just have solved it
c
Yeah I think that is needed now, or else it defaults to JDK 11. The error message isn’t helpful though
e
I updated question with my workaround. Yeah, I think a more helpful message might help.