android.database.sqlite.SQLiteDiskIOException - 不知道为什么

时间:2013-04-10 16:17:07

标签: java android database sqlite exception

在我的开发者控制台中,我收到此错误报告:

android.database.sqlite.SQLiteDiskIOException: error code 10: disk I/O error
at android.database.sqlite.SQLiteStatement.native_execute(Native Method)
at android.database.sqlite.SQLiteStatement.execute(SQLiteStatement.java:61)
at android.database.sqlite.SQLiteDatabase.delete(SQLiteDatabase.java:1777)
at android.webkit.WebViewDatabase.clearCache(WebViewDatabase.java:708)
at android.webkit.CacheManager.clearCache(CacheManager.java:605)
at android.webkit.WebViewWorker.handleMessage(WebViewWorker.java:199)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)

我的应用程序中没有swlite数据库,我使用adMob,Facebook API和Google Maps api v2,任何人都知道这可能是由什么引起的?感谢

2 个答案:

答案 0 :(得分:0)

检查此网址。它可以帮助你

Since you are using External Storage, your application must be aware of the External Storage state, which you can get via `Environment.getExternalStorageState()'.

You must only access External Storage when the state is MOUNTED.

Link

由于

答案 1 :(得分:-1)

这似乎是一个已知的android错误。但还没有摆脱它。看这里:

https://android.googlesource.com/platform/external/sqlite.git/

并注意提交

42c3f41添加更多日志记录以跟踪磁盘I / O错误。作者:Jeff Brown - 10个月前