net.sqlcipher.database.SQLiteException: file is not a database: , while compiling: select count(*) from sqlite_master

Hi @gupta126

Your exception is likely due to the change in the library file format due to a large number of security improvements. SQLCipher for Android 4.1.3 includes the major version update to SQLCipher Core 4.0, please review the upgrade documentation to SQLCipher 4 series here.

Would you try the upgrade approach and let us know your results?