本文介绍了缺少蚂蚁和“代码 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

推荐答案

请尝试以下来检查和启用多设备混合应用程序所需的所有环境变量.

第 1 步:

    Go to Visual Studio -> Debug Menu -> Multi-Device Hybrid Apps ->
Environment Variables Settings

第 2 步:

    Select Required Environment Variable from here as mentioned in
the attached screenshot

这篇关于缺少蚂蚁和“代码 8"构建多设备混合应用项目时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-08 16:44