Hi,
I have build an Android app using plugin @havesource/cordova-plugin-push successfully in the past.
Now I’m getting a build error (not happening when I remove the plugin) talking about /com/adobe/phonegap/push code which I don’t understand where it comes from. Because this plugin should replace the phonegap push plugin.
Task :app:compileDebugKotlin FAILED
e: Incompatible classes were found in dependencies. Remove them from the classpath or use ‘-Xskip-metadata-version-check’ to suppress errors
e: /Users/agent03/.gradle/caches/transforms-2/files-2.1/8f3eb7487775f0c6b880d984aa109ca8/jetified-kotlin-stdlib-1.5.20.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: /Users/agent03/.gradle/caches/transforms-2/files-2.1/9a5c315730132128ef1956760c2ab574/jetified-kotlin-stdlib-jdk7-1.5.20.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: /Users/agent03/.gradle/caches/transforms-2/files-2.1/d63c5cd5af3d57bf970cf607f4342fcb/jetified-kotlin-stdlib-common-1.5.20.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: /platforms/android/app/src/main/java/com/adobe/phonegap/push/BackgroundActionButtonHandler.kt: (14, 2): Class ‘kotlin.Suppress’ was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
Do you have any idea what could be the problem?
Thanks,
Jens-Uwe