Skip to content

UnsatisfiedLinkError: Couldn't load sqlcipher_android from loader  #145

Closed
@TheNephilim88

Description

@TheNephilim88

Hey.

I am using SQLCipher 3.2.0 in my app, which is working well on most devices. Unfortunately I am getting very rare bug reports on developer console:

java.lang.UnsatisfiedLinkError: Couldn't load sqlcipher_android from loader dalvik.system.PathClassLoader[dexPath=/system/framework/multiwindow.jar:/data/app/com.myapp-2.apk,libraryPath=/data/app-lib/com.myapp-2]: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:358)
at java.lang.System.loadLibrary(System.java:526)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(Unknown Source)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(Unknown Source)

Affected devices: Galaxy S5, S2
Affected Android versions: 4.4 & 4.1

For now I currently only have very few of those bug reports (4 bug reports, but way more than 50.000 active installs, that updated to new version of my app, that now includes SQLCipher (didnt use it before)), but of course I want to know why this is happening and how to prevent this.
Unfortunately I am not able to reproduce this behaviour on any of my testing devices.

Another thing what is strange to me: a friend of mine is using Galaxy S5 with Android KitKat 4.4 - also on his device everything is working very well.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions