Visual Studio空Cordova多设备混合应用程序构建失败[错误代码8] [英] Visual Studio Empty Cordova Multi Device Hybrid App Build Failure [error code 8]

查看:153
本文介绍了Visual Studio空Cordova多设备混合应用程序构建失败[错误代码8]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试遵循所有建议,补救措施和解决方法,包括删除和重新安装Visual Studio CPT1的多设备混合应用程序我仍然不能成功构建包括的空白应用程序(Apache Cordova)项目。

Having tried to follow all advices, remedies and workarounds including removing and reinstalling the Multi-Device Hybrid Apps for Visual Studio CPT1 I still can't seem to do a successful build of the included "Blank App (Apache Cordova)" project.

在一个错误中构建一致结束:

Build ends consistently in one single error:

The command ""C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7
\IDE\Extensions\k04kuuo3.ie0\packages\vs-mda\install" "C:\Program Files (x86)
\nodejs\" "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7
\IDE\Extensions\k04kuuo3.ie0\packages\vs-mda"" exited with code 8.

File    %USERPROFILE%\AppData\Roaming\npm\node_modules\vs-mda-targets\Microsoft.MDA.targets
Line    108
Column  5
Project BlankCordovaApp1

环境设置:

ADT_HOME    %USERPROFILE%\AppData\Local\Android\android-sdk
ANT_HOME    C:\apache-ant-1.9.3
GIT_HOME    C:\Program Files (x86)\Git\cmd
JAVA_HOME   C:\Program Files (x86)\Java\jdk1.7.0_55
PATH    %JAVA_HOME%\bin;%ANT_HOME%\bin;%ADT_HOME%\platform-tools;%ADT_HOME%\tools;
    C:\Program Files (x86)\nodejs\;C:\Program Files (x86)\Windows Kits\8.1\Windows 
    Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;
    C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\
(contains no reference to "Platform")

感谢
Ian

Your kind help is very much appreciated, Thanks
Ian

推荐答案

最后,灯泡继续为我:问题是安装批处理文件不是能够找到xcopy.exe,因此简单的补救办法是只是扩展路径变量


%SystemRoot%\system32;


现在运行的构建没有进一步的错误。

Finally the light bulb went on for me: The problem was the install batch files not being able to locate xcopy.exe and therefore the simple remedy was to just extend the path variable with
%SystemRoot%\system32;
The build now runs without further errors.

这篇关于Visual Studio空Cordova多设备混合应用程序构建失败[错误代码8]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆