Skip to content

Cannot load libs #98

Closed
Closed
@pligor

Description

@pligor

When executing this line:
SQLiteDatabase.loadLibs(this)
I get these errors and the program terminates abruptly:
13578 dalvikvm E ERROR: couldn't find native method
13578 dalvikvm E Requested: Lnet/sqlcipher/database/SQLiteDatabase;.native_getDbLookaside:()I
13578 JNIHelp E RegisterNatives failed for 'net/sqlcipher/database/SQLiteDatabase', aborting

Note that I am using proguard and I have used this config especially for SQLiteCipher:
-keep public class info.guardianproject.database.** { *; }
also have included (with -libraryjars) all related jars: guava-r09.jar, commons-codec.jar, sqlcipher.jar

What is the issue? Why does it fail?

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