public void onCreate(SQLiteDatabase db) {
db.execSQL("CREATE TABLE Button(Id integer NOT NULL PRIMARY KEY UNIQUE,name text," + "parentId integer,typeId integer,CMD1 text,CMD2 text,CMD3 text,CMD1Status integer," + "CMD2Status integer,CMD3Status integer,CMD1Id integer,CMD2Id integer,CMD3Id integer," + "CMD1Param integer,CMD2Param integer,CMD3Param integer,IsDimmer integer DEFAULT 0," + "openState integer DEFAULT 0,BtnType integer)");
}
我的创建语句不对么?怎么执行查询的时候报错数据不存在?E/AndroidRuntime(387): Caused by: android.database.sqlite.SQLiteException: no such table: Button: ,