" _Problem加载窗口小部件"信息 [英] "_Problem Loading Widget" message

查看:246
本文介绍了" _Problem加载窗口小部件"信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当加载一个小部件,如果它不能找到一个资源或东西,它说问题加载控件。就这样!惊人!此信息在主屏幕上甚至不说哪一个组件就遇到了麻烦加载。

When loading a widget if it cannot find a resource or something it says Problem Loading Widget. That's all! Amazing! This message remains on the home screen and does not even say which widget it had trouble loading.

我理解了它的试验和错误,但我想知道是否有任何地方找到错误消息,当发生这种情况。 Android将在哪里说什么问题,它已加载插件,甚至哪一个组件就无法加载?

I figured it out by trial and error but I would like to know if there are any places to find the error message when this occurs. Where will Android say what problem it had loading the widget or even which widget it failed to load?

推荐答案

正如评论所说,检查logcat的。你将看到的是一个NullPointerException异常。我以前也有过这样的。

As said in comments, check logcat. What you will see is a NullPointerException. I have had this before too.

这篇关于" _Problem加载窗口小部件"信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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