According to your code and stacktrace, you didn’t add a space " "
between the CREATE TABLE
and TABLE_NAME
. Add a " "
after TABLE_NAME
too.
solved Why does the application crash when I press the button to insert the values in the table? [duplicate]