dimanche 7 février 2016

android.database.sqlite.SQLiteException: near "taskname": syntax error (code 1): , while compiling:

Hello i am trying to test my Database with a test app but it seems there is something wrong with my SQL cause i get an error while compiling

Caused by: android.database.sqlite.SQLiteException: near "taskname": syntax error (code 1): , while compiling: CREATE TABLE tasks(_id INTEGER PRIMARY KEY AUTOINCREMENT taskname TEXT taskdescription TEXT );

Anyone know how to fix this

Aucun commentaire:

Enregistrer un commentaire