android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: device.device_id (code 2067)

Stack Overflow | Swaroop Lal | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed:

    Stack Overflow | 5 months ago | Swaroop Lal
    android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: device.device_id (code 2067)

    1 unregistered visitors

    Root Cause Analysis

    1. android.database.sqlite.SQLiteConstraintException

      UNIQUE constraint failed: device.device_id (code 2067)

      at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount()
    2. Android Platform
      SQLiteDatabase.updateWithOnConflict
      1. android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method)
      2. android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:743)
      3. android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754)
      4. android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)
      5. android.database.sqlite.SQLiteDatabase.updateWithOnConflict(SQLiteDatabase.java:1606)
      5 frames