While creating a user info card in DevEco Studio we need to begin with empty ability or anything else ? If we begin with empty ability , there's already an intent present, creating a new one shows error !
Intent and Serialization in DevEco
91 Views Asked by rohangupta8756 At
2
There are 2 best solutions below
1

All applications start with main Ability and the UI is handled in Ability Slice. Also refer these developer links for more information, if you have more concerns, lets have a call and discuss
https://developer.harmonyos.com/en/docs/documentation/doc-guides/ability-ability-overview-0000000000029852 https://developer.harmonyos.com/en/docs/documentation/doc-guides/ui-java-overview-0000000000500404
Reference as answered: https://github.com/applibgroup/HarmonyOS-Knowledgebase/issues/79
You could follow this official documentation to develop service widget.
If the problem persists, please provide error logs during service widget creation for us to check.