报错原因是在建表语句中缺少了字段 word。你需要修改建表语句如下:

public static final String CREATE_TABLE_SQL = "create table dict(_id integer primary key autoincrement , word text, detail text)";

然后重新运行程序即可解决该问题。

我的插入语句:dbexecSQLinsert into dictword detail values new Stringword detail;我的建表语句:public static final String CREATE_TABLE_SQL = create table dict_id integer primary + key autoincrement wor

原文地址: http://www.cveoy.top/t/topic/jaL6 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录