I am trying to start developing app with multi-device-hybrid-app for visual studio.
After setting all system variables my errors are these
- Error 4 The command ""C:\Users\userName\AppData\Roaming\npm\node_modules\vs-mda\vs-cli" prepare --platform Android --configuration Debug --projectDir . --projectName "name" --language "en-US"" exited with code 8.
- Error 2 executing command 'ant', make sure you have ant installed and added to your path.
- Error 3 C:\Users\userName.cordova\lib\android\cordova\3.5.0\bin\create.bat: Command failed with exit code 8
what I have done
- Read all questions about this argument in SO without success
- Added ADT_HOME with value C:\Program Files (x86)\Android\android-sdk
- Added ANT_HOME with value C:\apache-ant-1.9.3
- Added JAVA_HOME with value C:\Program Files (x86)\Java\jdk1.7.0_71
- Edited Path system variable as suggested in this question
- Deleted the bld folder from the project as suggested in this question
- Updated Android API from Android SDK manager (I have 8,10 and from 16 to 21)
I don't know what to try, I have tryed everything (reinstall VisualStudio and Java from zero)
I have VisualStudio 2013 ultimate with Windows 7 pro
Can anyone help me?
UPDATE:
this is my Multi Device Hybrid Apps enviroment configuration

After one day spent looking for missing variables to set I discover that the problem was caused by a missing information in Path
variable.
Just add %SystemRoot%\system32; %SystemRoot%; %SystemRoot%\System32\Wbem;
, restart VisualStudio and everything works great!