Android App Crashing On Calling Sqlitehelper
I have been using this tutorial for some part, but I had to make some little changes and my app crashes on mobile phone. There are no errors in code, though! http://www.vogella.com
Solution 1:
you forget to place comma(,)
after every column name in create table query change it as:
private static final String DATABASE_CREATE =
"CREATE TABLE " + TABLE_NAME +
" (" +
COLUMN_NAME_SP + " text not null, " +
COLUMN_NAME_ST + " text not null " +
");";
Post a Comment for "Android App Crashing On Calling Sqlitehelper"