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

Hi @pallavi

What version of SQLCipher is the jar file? If you can execute code using it, try running:

PRAGMA cipher_version;

You might consider updating to the latest version of SQLCipher. If the version is a different major version, you will want to review the upgrade guidance here: