There are regular Java classes in the code. The export tool will need to determine which ones are expanding by Activity or FragmentActivity , or any subclass of these. And some may just be abstract. In any case, Android needs a list of all available Activity s.
By declaring them in the manifest, you have the opportunity to declare additional attributes and metadata that Android should know.
What Intent filters are available? In what mode do you want to start your Activity ? When to start Activity ? Android should know this.
Edit: Do not forget the permissions required to run single Activity s, as well as icons and labels - all that needs to be known.
source share