缺少蚂蚁" code 8英寸构建多设备混合应用项目时的错误 [英] Missing ant and "code 8" errors when building multi-device hybrid application project
本文介绍了缺少蚂蚁" code 8英寸构建多设备混合应用项目时的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经安装了多器件的混合应用程序,当我建立和调试新项目,它显示出这三个错误
I have installed Multi Device Hybrid apps and when I'm building and debugging new project it showing these three errors
Error 1 executing command 'ant', make sure you have ant installed and added to your path.
Error 2 C:\Users\User\.cordova\lib\android\cordova\3.5.0\bin\create.bat: Command failed with exit code 8
Error 3 The command ""C:\Users\User\AppData\Roaming\npm\node_modules\vs-mda\vs-cli" prepare --platform iOS --configuration Debug --projectDir . --projectName "BlankCordovaApp2" --language "en-US"" exited with code 8.
不过,我已经设置环境变量的所有路径和adt_home,仍然它显示做这个错误
But I have set all the paths and adt_home in environment variables and still it is showing this error what to do
推荐答案
请尝试以下来检查并启用所有必需的环境变量
为多设备的混合应用程序。
Try the following to check and enable all required Environment Variables
for Multi-Device Hybrid App.
第1步:
Go to Visual Studio -> Debug Menu -> Multi-Device Hybrid Apps ->
Environment Variables Settings
第二步:
Select Required Environment Variable from here as mentioned in
the attached screenshot
这篇关于缺少蚂蚁" code 8英寸构建多设备混合应用项目时的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文