Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't seem to work on Giraffe #16

Open
nigini opened this issue Oct 31, 2023 · 0 comments
Open

Doesn't seem to work on Giraffe #16

nigini opened this issue Oct 31, 2023 · 0 comments

Comments

@nigini
Copy link

nigini commented Oct 31, 2023

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

  1. It raises a Mockito version not found... I followed the suggested IDE action and upgraded it.
  2. 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:

codelab-todolist-error.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant