constraint mismatch

Quickly share your Android Code Snippets here...

constraint mismatch

Postby vinaymundrathi » Tue Sep 15, 2009 10:37 am

09-15 14:59:55.980: ERROR/Database(712): android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed
Posts: 5
Joined: Fri Sep 11, 2009 8:44 am


Postby nmc » Tue Sep 15, 2009 11:05 am

Most likely one of your sql statements attempts to add/update data that doesnt passes the constraints you defined when creating the table(s) affected by the operation.

If you expect more detailed help, you will have to provide some infos, beginning with the "create table" statement(s) and the statement causing the exception.
Senior Developer
Senior Developer
Posts: 154
Joined: Thu Nov 27, 2008 8:30 pm
Location: Germany

Postby vaishumol » Sun Mar 21, 2010 7:12 pm

How to solve it?
Can anyone help me please?
im also getting the same issue.

Thanks in advance
Experienced Developer
Experienced Developer
Posts: 74
Joined: Sun Jan 03, 2010 6:33 am


Return to Code Snippets for Android

Who is online

Users browsing this forum: No registered users and 2 guests