composeuisuite / ohteepee

A Simple, Customizable, Easy-to-use OTP/Pin Jetpack Compose Library
Apache License 2.0
145 stars 11 forks source link

Unable to get the library to work with Kotlin 1.7.0 #26

Closed ashwinbhaskar closed 3 months ago

ashwinbhaskar commented 4 months ago

Is this library designed to be used with Kotlin 1.9.0? I get the following error when I add ohteepee dependency and compile my project.

~/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.9.0/cd65c21cfd1eec4d44ef09f9f52b6d9f8a720636/kotlin-stdlib-common-1.9.0.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.9.0, expected version is 1.7.1.
ilyasipek commented 3 months ago

Hi @ashwinbhaskar thanks for trying our library.

I think this issue is not related to this library, appereantly this issue can happen when your kotlin-gradle-plugin's version is different than com.android.tools.build:gradle's plugin version.

Please check out this answer on stackoverflow to see if it works https://stackoverflow.com/a/74425347

As for now i'm closing this issue but the link i provide doesn't solve the issue you can open a new issue and we can investigate it more.