Failed to open database exception, yet the database works
Closed this issue · 5 comments
Deleted user commented
On my HTC One I get "Failed to open database" exception all the time.
Yet it seems that everything is working fine.
How can I get rid of the exception?
roscopeco commented
Can you provide more detail? E.g. is there an exception trace?
Thanks,
Ross
Deleted user commented
Hi Ross,
unfortunately there is just a few lines output on this error:
07-02 09:53:00.180 1512-1512/com.unitedinternet.presents.app I/Database﹕ sqlite returned: error code = 14, msg = cannot open file at source line 25467
07-02 09:53:00.180 1512-1512/com.unitedinternet.presents.app E/Database﹕ sqlite3_open_v2("presents.db", &handle, 2, NULL) failed
ChristopheCVB commented
I already tested it on my project while fixing, but let me know ;)
Deleted user commented
Seems to work well, thanks for the fix!