“_Problem Loading Widget” message

前端 未结 18 1800
旧巷少年郎
旧巷少年郎 2021-02-02 06:08

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 s

18条回答
  •  逝去的感伤
    2021-02-02 06:30

    In my case error was caused by changed provider class name. So if you have changed the name of Widget Provider class, try to change it back. Also, if you have changed the names of xml files (ex. widget_info.xml, widget_layout.xml), you might want to change those back as well.

    This happened only when user updated app and "old" widget was currently visible.

提交回复
热议问题