Crash on Android: UnsatisfiedLinkError

Hey there! I have an issue with my app and it’s basically related to this crash report:

java.lang.UnsatisfiedLinkError: No implementation found for long com.couchbase.lite.internal.core.C4Database.open(java.lang.String, int, java.lang.String, int, int, byte[]) (tried Java_com_couchbase_lite_internal_core_C4Database_open and Java_com_couchbase_lite_internal_core_C4Database_open__Ljava_lang_String_2ILjava_lang_String_2II_3B)
at com.couchbase.lite.internal.core.C4Database.open (C4Database.java:-2)
at com.couchbase.lite.internal.core.C4Database.<init> (C4Database.java:89)
at com.couchbase.lite.AbstractDatabase.openC4Db (AbstractDatabase.java:1193)
at com.couchbase.lite.AbstractDatabase.<init> (AbstractDatabase.java:331)
at com.couchbase.lite.Database.<init> (Database.java:71)
...

This is the list of devices which the crash is being reported:

Library version: com.couchbase.lite:couchbase-lite-android:2.8.0

Could you guys give me a hand to understand why this happens?

Most likely, you didn’t call CouchbaseLite.init()

I call it in the constructor of the database manager class that I implemented

If you can include a more complete log, I might actually be able to figure out what is going wrong.

As I say, though, it appears that the native LiteCore library has not been loaded. That is almost certainly because CouchbaseLite.init() did not get called.