Doesn't seem to work on Giraffe #16
Description
I am trying to use this project as part of the "Extend your Android App to Google Assistant with App Actions" codelab and cannot build it! I am using the Android Studio Giragge (2022.3.1 Patch 1), which uses a JVM v17.
I have downloaded the "codelab-start" branch as instructed here, but when I try to build the project, I have issues:
FIRST ATTEMPT
- It raises a Mockito version not found... I followed the suggested IDE action and upgraded it.
- The build now fails like this (which looks like a JVM version incompatibility?)
> Task :app:kaptGenerateStubsDebugKotlin e: java.lang.IllegalAccessError: class org.jetbrains.kotlin.kapt3.base.KaptContext (in unnamed module @0x78e8a243) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x78e8a243
SECOND ATTEMPT
3. I tried to upgrade the Kotlin plugin version to 1.8.22 and 1.9.0 as recommended here for a similar problem.
4. It seems to go further on the building process, but now it breaks on what seems to be a language semantics problem: