You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
android.database.sqlite.SQLiteException: AUTOINCREMENT is only allowed on an INTEGER PRIMARY KEY (code 1): , while compiling: CREATE TABLE IF NOT EXISTS `Activity`(`id` INTEGER(0) PRIMARY KEY AUTOINCREMENT, `date` INTEGER(0), `steps` INTEGER(0), `calories` REAL(0));
I believe this is very similar to this issue: #288
The id should probably be INTEGER instead of INTEGER(0) as in the issue above.
This code works correctly so I think it should be an issue with an allFields variable:
I get the issue using this code:
This is the exception:
I believe this is very similar to this issue: #288
The
id
should probably beINTEGER
instead ofINTEGER(0)
as in the issue above.This code works correctly so I think it should be an issue with an
allFields
variable:The text was updated successfully, but these errors were encountered: