ERROR/Database(3236): close() was never explicitly called on databaseandroid.database.sqlite.
DatabaSEObjectNotClosedException: Application did not close the cursor or database object that was opened here
它会产生一个异常提示,但程序是不会中止。
字面上理解是database没有正常关闭,实际是因为重复实例化了你的database,或者说你连接已经建立,而你又尝试打开另一个连接时才会有异常。所以解决的办法是,保证你只打开一次连接。
原文链接:https://www.f2er.com/sqlite/202274.html