Skip to content

App returning error when Kotlin version is above 2.0.0 #5

@ooluseye16

Description

@ooluseye16

Description

I am trying out Instalog but I am unable to run my app after configuration. I am getting this error:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':instalog_android'.
> com.android.builder.errors.EvalIssueException: Starting in Kotlin 2.0, the Compose Compiler Gradle plugin is required
  when compose is enabled. See the following link for more information:
  https://d.android.com/r/studio-ui/compose-compiler

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 11s
Error: Gradle task assembleDebug failed with exit code 1

I can't reduce Kotlin version used in my app though because some other things led me to upgrading it.

Current Version: "2.1.20"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions