net.sqlcipher.database.SQLiteException

file is encrypted or is not a database: create locale table failed

Solutions on the web98

  • file is encrypted or is not a database: create locale table failed
  • file is encrypted or is not a database: create locale table failed
  • via GitHub by lavzchen
    , 1 year ago
    file is encrypted or is not a database: create locale table failed
  • Stack trace

    • net.sqlcipher.database.SQLiteException: file is encrypted or is not a database: create locale table failed at net.sqlcipher.database.SQLiteDatabase.native_setLocale(SQLiteDatabase.java) at net.sqlcipher.database.SQLiteDatabase.setLocale(SQLiteDatabase.java:2474) at net.sqlcipher.database.SQLiteDatabase.openDatabaseInternal(SQLiteDatabase.java:2338) at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1087) at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1150) at net.sqlcipher.database.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:162) at net.sqlcipher.database.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:129) at com.xxx.xxx.database.DBOperation.getDatabase(DBOperation.java:37) at com.xxx.xxx.database.DBOperation.endTransaction(DBOperation.java:58)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 9 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    702 times, 5 months ago