2015-01-16 135 views
-6
01-16 21:50:06.898 29777-29777/com.example.administrator.simpleclock E/SQLiteLog﹕ (1) near "varchar": syntax error 
01-16 21:50:06.908 29777-29777/com.example.administrator.simpleclock W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x41d59438) 
01-16 21:50:06.968 29777-29777/com.example.administrator.simpleclock E/AndroidRuntime﹕ FATAL EXCEPTION: main 
    android.database.sqlite.SQLiteException: near "varchar": syntax error (code 1): , while compiling: create table clock_list (mid INTEGER primary key ,meme varchar ,check varchar ,hour integer,minute integer) 
+0

varchar(10),將工作 –

+1

檢查一些其他用戶的問題,看看如何問/結構的問題。 – T1000

回答

2

check是SQL中的一個關鍵字。重命名該列。