问题描述
由于2天,我得到以下错误,当我在设备上运行我的应用程序,但它运行良好的模拟器可以在任何1帮我解决这个问题?
Since 2 days , i get the following error when i run my app on the device,however it runs fine on the emulatorcan 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奇怪的日志条目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!