[英]Visual Studio Empty Cordova Multi Device Hybrid App Build Failure [error code 8]
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. 尝试遵循所有建议,补救措施和变通办法,包括删除并重新安装Visual Studio CPT1的多设备混合应用程序后,我似乎仍然无法成功构建包含的“空白应用程序(Apache Cordova)”项目。
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
Environment settings: 环境设置:
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")
Your kind help is very much appreciated, Thanks 非常感谢您的帮助,谢谢
Ian 伊恩
I just ran into this on one of my PCs and here's how I got it fixed: 我只是在我的一台PC上遇到了这个问题,这是我如何解决的问题:
Jordan (Microsoft, Multi-Device Hybrid Apps tools team) Jordan(Microsoft,多设备混合应用程序工具团队)
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 终于,灯泡继续为我服务:问题是安装批处理文件无法找到xcopy.exe,因此简单的解决方法是仅使用以下命令扩展路径变量
%SystemRoot%\\system32; %SYSTEMROOT%\\ SYSTEM32;
The build now runs without further errors. 现在,该构建可以运行,而不会出现其他错误。
Thanks Jordan and Ian. 感谢乔丹和伊恩。
I ended up doing both. 我最终都做了。
I ran the Android SDK manager to install the Android Build Tools Rev 19 as well as some other updates. 我运行Android SDK管理器来安装Android Build Tools Rev 19和其他一些更新。
I also added "%SystemRoot%\\system32;" 我还添加了“%SystemRoot%\\ system32;” to the PATH environment variable. 到PATH环境变量。
Everything running as it should. 一切运行正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.