appmattus / crypto

A collection of Kotlin Multiplatform cryptographic hashing functions.
Apache License 2.0
90 stars 4 forks source link

Not working in android #59

Open codesiddhant opened 4 months ago

codesiddhant commented 4 months ago

Class 'com.appmattus.crypto.Algorithm' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.0.0, expected version is 1.8.0. The class is loaded from C:/Users/siddh/.gradle/caches/modules-2/files-2.1/com.appmattus.crypto/cryptohash-jvm/1.0.2/327f7cce875e17a66b3d74e0da204328149317cc/cryptohash-jvm-1.0.2.jar!/com/appmattus/crypto/Algorithm.class

image

mattmook commented 4 months ago

v1.0.2 is built against Kotlin 2.0 so likely to use latest you'd need to make sure your project is built against 2.0 too