この例外を回避するにはどうすればよいですか?どのようにしてDatabaseObjectNotClosedExceptionを回避できますか
01-19 17:16:16.024: WARN/SQLiteCompiledSql(477): Releasing statement in a finalizer. Please ensure that you explicitly call close() on your cursor: SELECT * FROM test 01-19 17:16:16.024: WARN/SQLiteCompiledSql(477): android.database.sqlite.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here 01-19 17:16:16.024: WARN/SQLiteCompiledSql(477): android.database.sqlite.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here 01-19 17:16:16.024: WARN/SQLiteCompiledSql(477): at android.database.sqlite.SQLiteCompiledSql.(SQLiteCompiledSql.java:62) 01-19 17:16:16.024: WARN/SQLiteCompiledSql(477): at android.database.sqlite.SQLiteProgram.(SQLiteProgram.java:80) 01-19 17:16:16.024: WARN/SQLiteCompiledSql(477): at android.database.sqlite.SQLiteQuery.(SQLiteQuery.java:46)
が – jennifer
デシベルを意味助けるスローされる理由は二回thatsの
を呼んでいましたSQLiteOpernHelperのオブジェクトまたはヘルパークラス.Plsの説明は – jennifer
です。このクラスで使用するオブジェクトはSQLiteです。name.iはdb.okを使用しています –