Recently , I received an error when trying to run an app on one of the Windows Phone 8 .
The error stated that
“Installation of the application failed. Run time error has occurred. Fix the capabilities in WMAppManifest.xml file.”
Installation of the App failed ?? Why ?
I tested my WP8 app on developer unlocked HTC Windows Phone 8X and it worked fine . I received the error only on the phones like developer unlocked HTC 8S and Lumia 520 device.
I figured out the reason for the error . In the requirements tab , I had set the following
<Requirement Name="ID_REQ_GYROSCOPE" />
The above requirements that is set is perfect . One of the requirements of the app is the ID_REQ_GYROSCOPE and since my developer unlocked devices don’t have the requirement specified , it displayed the error .
Generally ,if the devices don’t meet the requirements specified by the app , it will prevent the user from installing the app.