Visual Studio 2013命令行失败,phoneGap Cordova中的退出代码为8 [英] Visual Studio 2013 Command line failed with exit code 8 in phoneGap Cordova

查看:140
本文介绍了Visual Studio 2013命令行失败,phoneGap Cordova中的退出代码为8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

i当我尝试制作版本时会出现这个错误





错误27
E:\ App.Mobile\bld\Release\platforms\android\cordova\build.bat:命令失败,退出代码8

E:\\ \\ App.Mobile \ MDAVSCLI 1 1





输出





1> ------构建开始:项目:App.Mobile,配置:发布Android ------

1> C:\Program Files(x86)\ MSBuild\Microsoft \ VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(95,5):警告:TypeScript编译器没有给出编译文件,所以它会跳过编译。

1> GeneratedJavascript =

1> E:\ App.Mobile>调用C:\Program Files(x86)\ nodejs \\ nodevars.bat

1>您的环境已设置为使用Node.js 0.10.28(ia32)和npm。

1> ------确保从源包目录正确全局安装包:C:\PROGRAM FILES(X86)\ MICROSOFT VISUAL STUDIO 12.0 \COMMON7 \IDE \ EXTENSIONS \OOEVIW0O.AQZ \ packages \\ _vs-mda

1> MDAVSCLI:错误:E:\ App.Mobile \ bld \Release\platforms\android\cordova\build.bat:命令失败并退出代码8

==========构建:0成功,1失败,0最新,0跳过==========

hello
i have this error when i try make build release


Error 27
E:\App.Mobile\bld\Release\platforms\android\cordova\build.bat: Command failed with exit code 8
E:\App.Mobile\MDAVSCLI 1 1


output


1>------ Build started: Project: App.Mobile, Configuration: Release Android ------
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(95,5): warning : The TypeScript Compiler was given no files for compilation, so it will skip compiling.
1> GeneratedJavascript=
1> E:\App.Mobile>call "C:\Program Files (x86)\nodejs\"\nodevars.bat
1> Your environment has been set up for using Node.js 0.10.28 (ia32) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\EXTENSIONS\OOEVIW0O.AQZ\packages\vs-mda
1>MDAVSCLI : error : E:\App.Mobile\bld\Release\platforms\android\cordova\build.bat: Command failed with exit code 8
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

推荐答案

1。如果您从其他计算机复​​制项目,那么build命令很可能在不同位置查找android ...(build.bat命令文件是使用您的项目创建的)检查内容并手动将其更新到正确的位置...

2.如果您从其他计算机复​​制了项目,可能根本就没有ADK ......

3.同时检查node.js包 - 对于cordova包来说可能太高级了......

4.最后,检查你对该文件夹的权限 - 你需要超越权限......
1. If you copied the project from other computer it is highly possible that the build command looks for android at a different location...(the build.bat command file was created with your project) Check the content and update it manually to the right location...
2. If you copied the project from other computer it may be that you have no ADK at all...
3. Check also the node.js package - it may be too advanced for the cordova pack...
4. Finally, check your permissions on the folder - you need excecute permissions...


这篇关于Visual Studio 2013命令行失败,phoneGap Cordova中的退出代码为8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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