在Android的相关webcoreglue奇怪的日志条目 [英] strange log entry related to webcoreglue in android

查看:166
本文介绍了在Android的相关webcoreglue奇怪的日志条目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于2天,我得到以下错误,当我在设备上运行我的应用程序, 但它运行良好的模拟器 可以在任何1帮我解决这个问题?

Since 2 days , i get the following error when i run my app on the device, however it runs fine on the emulator can any 1 help me in solving this error?

 E  3762    webcoreglue the real object has been deleted

 E  3762    webcoreglue the real object has been deleted

 E  3762    webcoreglue the real object has been deleted

 E  3762    webcoreglue the real object has been deleted

它给Facebook登录web视图通过我的应用程序发生时,即时通讯loggin。

it occurs when i m loggin in to facebook login webview through my app.

出现fr的十分之一秒的登录对话框,然后消失

the login dialog appears fr a tenth of a second and then disappears

有什么建议? 感谢..

any suggestions? thanks ..

推荐答案

在我的情况下,真正的对象已被删除是由一个缺失导致webcoregluewebView.destroy();。调用活动多次之后,我得到了错误的信息。

In my case the webcoreglue "the real object has been deleted" was caused by a missing "webView.destroy();". After calling the activity multiple times i got the error message.

@Override    
public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.help);

   String fileName = this.getIntent().getStringExtra("filename");
   webView = (WebView) findViewById(R.id.webview);
   webView.loadUrl(fileName); //file:///...html
}


@Override
public void onDestroy() {
   super.onDestroy();
   webView.destroy(); //<-- !!!
}

这篇关于在Android的相关webcoreglue奇怪的日志条目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆