Skip to content

no such function: sqlcipher_export #54

Closed
@Alexander-Campbell

Description

@Alexander-Campbell

Hello,

I was trying to run this code (Android/Java/Eclipse)

private SQLiteDatabase vgpdb;

    SQLiteDatabase.loadLibs(appcontext);

vgpdb = SQLiteDatabase.openOrCreateDatabase(database1, "Test1234, null);
vgpdb.execSQL("ATTACH DATABASE '/mnt/sdcard/Empty.sqlite' AS plaintext KEY '';");
vgpdb.execSQL("SELECT sqlcipher_export('plaintext');"); 
    vgpdb.execSQL("DETACH DATABASE plaintext;");
vgpdb.close();

When it gets to the sqlcipher_export line I get an exception, "05-10 10:13:35.420: E/Database(13730): Failure 1 (no such function: sqlcipher_export) on 0x1b8c030 when preparing 'SELECT sqlcipher_export('plaintext');'."

I am using the Anrdroid 1.1.0 package with the assets zip file icudt46l.zip, any advice would be helpfull.

thanks

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