android.database.sqlite.SQLiteConstraintException

UNIQUE constraint failed: device.device_id (code 2067)

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 web305

  • UNIQUE constraint failed: device.device_id (code 2067)
  • UNIQUE constraint failed: contact.name (code 2067)
  • UNIQUE constraint failed: context.context_id (code 2067)
  • Stack trace

    • android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: device.device_id (code 2067) at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method) at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:743) at android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754) at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64) at android.database.sqlite.SQLiteDatabase.updateWithOnConflict(SQLiteDatabase.java:1606)

    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

    Unknown user
    Once, 2 years ago
    11 times, 5 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    4 times, 10 months ago
    12 times, 1 year ago
    10 more bugmates