java.lang.RuntimeException: Unable to start activity ComponentInfo

问题描述:

02-17 07:21:06.742: E/AndroidRuntime(3321): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.gao.provider/com.gao.provider.MainActivity}: android.database.sqlite.SQLiteException: no such table: person: , while compiling: SELECT personid, name, age FROM person WHERE personid=? ORDER BY personid desc

 

java.lang.RuntimeException: Unable to start activity ComponentInfo_第1张图片

主要是红色的部分没写

这个代码里面开始创建的时候没建表。

 

你可能感兴趣的:(java.lang.RuntimeException: Unable to start activity ComponentInfo)