Should I create a widget in the entry module or an independent module in an atomic service project?
First, create a module of the entry or feature type, which must contain UIAbility. Then, right-click the module to add a widget. It is unable to create a widget in a created har or shared module.