play-billing-samples icon indicating copy to clipboard operation
play-billing-samples copied to clipboard

Bug: can't build the sample "ClassyTaxiAppKotlin" - getting error "Unknown Kotlin JVM target: 21"

Open AndroidDeveloperLB opened this issue 1 year ago • 1 comments

As the title says. I tried to build it, and it failed with just this error. I tried upgrading AGP, but it didn't help. Tried to use latest canary version of Android Studio...

It says:

Execution failed for task ':app:kaptGenerateStubsDebugKotlin'.
> Error while evaluating property 'compilerOptions.jvmTarget' of task ':app:kaptGenerateStubsDebugKotlin'.
   > Failed to calculate the value of property 'jvmTarget'.
      > Unknown Kotlin JVM target: 21

image

AndroidDeveloperLB avatar Sep 03 '24 21:09 AndroidDeveloperLB