0

I am facing the issue File is encrypted or is not a database when trying to execute the query: select count(*) from sqlite_master; while migrating the database from android.database.sqlite.SQLiteDatabase to net.sqlcipher.database.SQLiteDatabase.

I did not done anything in DBhelpher which is extends SQLiteOpenHelper.

Can any one suggest what should I do to upgrade Android native db to sqlcipher db?

Bertram Gilfoyle
  • 9,899
  • 6
  • 42
  • 67
Pinki
  • 21,723
  • 16
  • 55
  • 88
  • It may help [How to get started with SQLCipher for android?](https://stackoverflow.com/questions/17671686/how-to-get-started-with-sqlcipher-for-android) and [SQLCipher for Android Application Integration](https://www.zetetic.net/sqlcipher/sqlcipher-for-android) – Raghavendra Sep 27 '17 at 07:03
  • 1
    @Raghavendra:I am facing issue when am overriding the v1 app with v2 app.v1 have native sql integration v2 have cipher integration. Individually those are working fine.only facing issue at db migration means v1 already installed in device.done with v2 updating then am getting this issue.please suggest me – Pinki Sep 27 '17 at 11:36
  • same issue for my app. did you find any solution? – Harsh Bhikadia Feb 09 '19 at 08:35

0 Answers0