Skip to content

Kotlin version mismatch in capacitor 8 project #1164

@merbin2012

Description

@merbin2012

Usally capacitor 8 is used kotlin_version : '2.2.20'. But while install and trying to take a release build, it threw an error .
I can fixed it like below

Remove the kotlin old version and add two more line
node_modules\onesignal-cordova-plugin\plugin.xml in this file

    <!-- <framework src="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10" /> -->

    <framework src="com.fasterxml.jackson.core:jackson-core:2.17.2" />
    <framework src="com.google.auto.value:auto-value-annotations:1.11.0"  scope="provided"/>

I have to create a hook for solving this issue. Please check and fix

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