Error during displaying widget in my launcher app

I am following the following tutorial to play with displaying widget in my launcher app, but it only works for a very few widgets... Most of the widget display a small blue box with the error "could not load widget" Here is the link to the example:
https://www.leonardofischer.com/hosting-android-widgets-my-appwidgethost-tutorial/

Since, I am able to launch widgets on default launcher on my phone, I know the problem is inside my launcher app.
Any tips would be helpful, and appreciated..
Thanks

Answers

Sign In or Register to comment.