i am working on andriod development and trying to get the list of activities supported by an APK. Most of the answer that I come across talk about following command:
aapt dump xmltree AndroidManifest.xml
aapt is not recognized as an internal or external command
That means it is not on your PATH. Please see here for details on how to add Path variables.
Basically here are the steps.
You'll want to add your platform-tools and tools directories to the PATH so you have the other tools as well.
My paths are as follows:
Platform Tools -
AAAPT specifically is a Build Tool, so you'll want to add that directory as well. Here's the directory:
Build Tools -