Categories can't have both
href attributes and children
If the "href" attribute is provided, the app:categories element MUST be empty and MUST NOT have the "fixed" or "scheme" attributes.
Merge all the categories into one list, and either include it inline or reference it externally via the href attribute
Not clear? Disagree?
You might be able to find help in one of these fine resources.