按视频敲的代码闪退
RuntimeException: Unable to start activity ComponentInfo{com.xq.sqliteadapterdemo/com.xq.sqliteadapterdemo.MainActivity}: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (Sqlite code 14 SQLITE_CANTOPEN): Could not open database, (OS error - 13:Permission denied)
RuntimeException: Unable to start activity ComponentInfo{com.xq.sqliteadapterdemo/com.xq.sqliteadapterdemo.MainActivity}: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (Sqlite code 14 SQLITE_CANTOPEN): Could not open database, (OS error - 13:Permission denied)
2020-03-19
http://bbs.lbsyun.baidu.com/forum.php?mod=viewthread&tid=111634
2018-04-27
SQLiteDatabase db = SQLiteDatabase.openDatabase(path, null, SQLiteDatabase.OPEN_READONLY);打开出错咋办 ,读写权限都加上了
2018-04-19
闪退的注意一下,MainActivity的onClick方法中这一句:
String selectSql = "select * from "+ Constant.TABLE_NAME;
from后面加空格
String selectSql = "select * from "+ Constant.TABLE_NAME;
from后面加空格
2018-03-29
老师新建一个layout.xml,敲完布局,诡异的变成了list_item.xml了(17:09处)
2018-03-21