Iuse kodein-db in my android project. kodein_db = ...
# kodein
y
Iuse kodein-db in my android project. kodein_db = "0.4.0-beta"
Copy code
implementation("org.kodein.db:kodein-db-jvm:$kodein_db")
implementation("org.kodein.db:kodein-db-serializer-kotlinx:$kodein_db")
implementation("org.kodein.db:kodein-db-serializer-kryo-jvm:$kodein_db")
leads to 
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/kodein/db/leveldb/jvm/LevelDBJvm
Copy code
implementation("org.kodein.db:kodein-db:$kodein_db")
implementation("org.kodein.db:kodein-db-jvm:$kodein_db")
implementation("org.kodein.db:kodein-db-serializer-kotlinx:$kodein_db")
implementation("org.kodein.db:kodein-db-serializer-kryo-jvm:$kodein_db")
leads to 
Duplicate class org.kodein.db.impl.AbstractDBFactory found in modules jetified-kodein-db-debug-runtime (org.kodein.db:kodein-db-android-debug:0.4.0-beta) and jetified-kodein-db-jvm-0.4.0-beta (org.kodein.db:kodein-db-jvm:0.4.0-beta)
 for 99 classes
Copy code
implementation("org.kodein.db:kodein-db:$kodein_db")
implementation("org.kodein.db:kodein-db-serializer-kotlinx:$kodein_db")
implementation("org.kodein.db:kodein-db-serializer-kryo-jvm:$kodein_db")
leads to 
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/my.app.debug-PdUtRd44w96MN7OUXipZlg==/base.apk"],nativeLibraryDirectories=[/data/app/my.app.debug-PdUtRd44w96MN7OUXipZlg==/lib/arm64, /system/lib64, /system/vendor/lib64]]] couldn't find "libkodein-leveldb-jni.so"
what am I doing wrong? is the use of 
kts
 mandatory? I still have the 
build.gradle
doc: https://docs.kodein.org/kodein-db/0.4/core/install.html
r
Indeed, their is an issue with this version, we are working on something to fix this asap.
👌 1
😪 1