Home > Mobile >  Android development studio notepad have thrown exception
Android development studio notepad have thrown exception

Time:09-27

What the last line under caused by: android. The database, sqlite. SQLiteException...
The create table statement of the case tried will also have exception
How to solve the

CodePudding user response:

SQLite does not support keyword AUTO_INCREMENT

CodePudding user response:

Need to add a space between the KEY_ID and INTEGER

CodePudding user response:

refer to the second floor JMSissi response:
need to add a space between the KEY_ID and INTEGER

Good?? I try to see see

CodePudding user response:

reference 1st floor JMSissi response:
SQLite does not support keyword AUTO_INCREMENT

Don't support the then how to write

CodePudding user response:

reference 4 floor Jan_chan response:
Quote: reference 1st floor JMSissi response:
SQLite does not support keyword AUTO_INCREMENT

Don't support the then how to write


reference 4 floor Jan_chan response:
Quote: reference 1st floor JMSissi response:
SQLite does not support keyword AUTO_INCREMENT

Don't support the then how to write

Don't listen to his nonsense

Your screenshot isn't have any logs, will add a space according to the upstairs see an error
Put together a good SQL print it out, see you spell seems to lack a lot of space

Then log out

CodePudding user response:

reference 5 floor wang can reply:
Quote: refer to 4th floor Jan_chan response:

Quote: refer to 1st floor JMSissi response:
SQLite does not support keyword AUTO_INCREMENT

Don't support the then how to write


reference 4 floor Jan_chan response:
Quote: reference 1st floor JMSissi response:
SQLite does not support keyword AUTO_INCREMENT

Don't support the then how to write

Don't listen to his nonsense

Your screenshot isn't have any logs, will add a space according to the upstairs see an error
Put together a good SQL print it out, see you spell seems to lack a lot of space

Then log out

Good resolved thanks is lack of space

CodePudding user response:

Already solved thanks for you help
  • Related