android.database.sqlite.SQLiteReadOnlyDatabaseException

attempt to write a readonly database (code 1032)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web46

  • attempt to write a readonly database (code 1032)
  • via GitHub by zasunkx
    , 1 year ago
    attempt to write a readonly database (code 1032)
  • attempt to write a readonly database (code 1032)
  • Stack trace

    • android.database.sqlite.SQLiteReadOnlyDatabaseException: attempt to write a readonly database (code 1032) at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method) at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:780) at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788) at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86) at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1471) at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1341) at com.couchbase.lite.android.AndroidSQLiteStorageEngine.insert(AndroidSQLiteStorageEngine.java:116) at com.couchbase.lite.Database.insertRevision(Database.java:3443) at com.couchbase.lite.Database.putRevision(Database.java:3634) at com.couchbase.lite.Database.putRevision(Database.java:3465) at com.couchbase.lite.Document.putProperties(Document.java:415) at com.couchbase.lite.Document.putProperties(Document.java:250)

    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

    15 times, 1 year ago
    6 times, 8 months ago
    Unknown user
    Once, 1 year ago
    19 times, 1 year ago
    Unknown user
    Once, 1 year ago
    5 more bugmates