Windows Phone emulator came out with code 8 during the assembly of hybrid applications Cordova Multi Device

When creating the Cordova Multi Device hybrid application for a Windows phone, it throws an error.

Error message : The command ""C:\Users\UserName\AppData\Roaming\npm\node_modules\vs-mda\vs-cli" build --platform "Windows Phone" --configuration "Debug" --projectDir . --projectName "AngularJSToDo" --language "en-US" --buildServerUrl "" --buildTarget "PhoneEmulatorWvga512"" exited with code 8. C:\Users\UserName\AppData\Roaming\npm\node_modules\vs-mda-targets\Microsoft.MDA.targets 99 5 AngularJSToDo 

But it works great for Android and iphone. The problem is only with the Windows phone.

+5
source share
1 answer

This error occurs when the required SDKs are not installed on your computer. To solve this problem, follow the link:

  • Programs and Features
  • Right-click Microsoft Visual Studio Ultimate 2013
  • Click change
  • Select "Change."
  • Check out "Application Maintenance Tools for Windows 8" and the Windows Phone 8.0 SDK "
  • Click Update

This should install the missing SDK. Then try to create again after restarting Visual Studio.

Adapted from official documentation .

+1
source

Source: https://habr.com/ru/post/1200588/


All Articles