Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Doesn't seem to work on Giraffe #16

Open
@nigini

Description

@nigini

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions