Which application are you trying to install from AAM?
Does that happen with all the applications? Try with any other application and check.
Reboot the machine and try to install.
Also, specify the operating system on which you are trying to install the same.