I have done following as instructedon zetectic site " Next we will modify the source of the activity to properly initialize the native libraries for SQLCipher and then create our database file inserting a record. In particular, note the import of net.sqlcipher.database.SQLiteDatabase instead of android.database.sqlite.SQLiteDatabase as well as the call to SQLiteDatabase.loadLibs(this) . The call to SQLiteDatabase.loadLibs(this) must occur before any other database operation."
I am able to successfully encrypt the database and able to open it by provide the passphrase.
The problem that I am facing is when I am trying to ATTACH plaintext.db to export encrypted database to plaintext using adb. (Getting this ‘Error: file is encrypted or is not a database’)