2012-03-02 106 views
1

我有一个Exception只出现在'Gio Galaxy Android 2.3.3`上。Android崩溃SQLiteDiskIOException

enter image description here

代码:

public void onCreate(Bundle savedInstanceState) 
{ 
    super.onCreate(savedInstanceState); 

    ............................... 



    setContentView(R.layout.web_view_layout); 

    WebView v = (WebView)findViewById(R.id.web_view); 

    v.getSettings().setJavaScriptEnabled(true); 

    CookieSyncManager.createInstance(this); 
    CookieManager cookieManager = CookieManager.getInstance(); 
    cookieManager.removeAllCookie(); 

.............................. 

} 
+0

请不要链接到外部托管的图像。在错误文本的情况下尝试将它们包含为文本或如果这太复杂的图像,但上传到Stackoverflow.com – Robert 2012-03-02 14:56:10

+0

http://stackoverflow.com/questions/7158434/webview-causes-sqlitediskioexception – 2012-03-02 15:13:10

回答

0

从我所用Google搜索时,数据库损坏发生这种情况。我假设这个Gio是一样的设备,一遍又一遍,在你的错误日志?

遗漏痕迹来自系统,所以我相信除了向Google报告问题之外,您无法对此做任何事情。

Source