pardom-zz / ActiveAndroid

Active record style SQLite persistence for Android
http://www.activeandroid.com
4.7k stars 1.03k forks source link

android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14) #490

Open DavidMont opened 8 years ago

DavidMont commented 8 years ago
android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14)
    at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
    at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:849)
    at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:836)
    at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
    at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:159)
    at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:148)
    at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:197)
    at android.database.AbstractCursor.moveToFirst(AbstractCursor.java:237)
    at com.activeandroid.util.SQLiteUtils.processIntCursor(SQLiteUtils.java:369)
    at com.activeandroid.util.SQLiteUtils.intQuery(SQLiteUtils.java:115)
    at com.activeandroid.query.From.count(From.java:333)
    at com.mycompany.aaentity.AALog.count(AALog.java:50)

I don't really what happened, This is the first time i ran across this problem, I hope the error logs could helped my problem.