When I tried to add a SharePoint mvc app I am getting following error:
Error occurred in deployment step \'Install app for SharePoint\': Failed to install app f
I just changed the hosting type in AppManifest.xml from Provider-hosted to SharePoint-hosted and voilá. I don't know if this was modified by itself when I added an Event Receiver in my project, cause before not fails.