如何设置科尔多瓦? [英] How do I setup Cordova?

查看:191
本文介绍了如何设置科尔多瓦?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些问题,开始使用Visual Studio中我的第一科尔多瓦的应用程序。

当我创建一个新项目科尔多瓦,我与一个页面psented $ P $,说​​:


  

我们已经检测到您的系统环境配置问题


和它列出三件事情需要被安装:


  • Android SDK中的软件从系统中丢失。您也可以在安装后进行配置。说明

  • Apache Ant的该软件从系统中丢失。您也可以在安装后进行配置。说明

  • Git的CLI该软件从系统中丢失。您也可以在安装后进行配置。说明


    1. 我已经安装了Android SDK。那么,怎样才能让我的Visual Studio知道它在哪里?一个搜索这在谷歌并没有屈服的人有关的任何结果。


    2. 搜索Git的CLI没有取得任何结果。我要如何安装呢?


    3. 我还没有尝试安装Apache Ant的但因为我不能让过去的另外两个。



我如何安装混帐CLI和我怎么让VS知道我的Andr​​oid SDK所在?

P.S。据我所知,其中每个列表项都有一个说明链接,但是,我无法访问这些页面,他们说:网页无法访问在Chrome,Firefox和IE(和Spartan)。


解决方案

我猜你已经为Apache安装科尔多瓦工具。

一旦你做到了,你不能用工具安装它们,在其官方网站手动下载。然后,您可以添加路径这些项目中:

 工具>选项​​>工具的Apache科尔多瓦>环境变量

下面是我的屏幕:

我希望它能帮助

I am having some problems with getting started with my first Cordova app in Visual Studio.

When I create a new Cordova Project, I am presented with a page that says:

We've detected issues with your system's environment configuration

And it lists 3 things that need to be installed:

  • Android SDK The software is missing from your system. You may also have to configure it after installation. Instructions
  • Apache Ant The software is missing from your system. You may also have to configure it after installation. Instructions
  • Git CLI The software is missing from your system. You may also have to configure it after installation. Instructions

    1. I already have the Android SDK installed. So how can I let Visual Studio know where it is? A search for this on Google did not yield any results that were related.

    2. Searching for Git CLI did not yield any results. How do I install this?

    3. I haven't even tried installing Apache Ant yet because I can't get past the other two.

How can I install Git CLI and how do I let VS know where my Android SDK is located?

P.S. I am aware that each of those list items has an 'instructions' link, however, I am unable to access those pages, they say "Webpage is not accessible" in Chrome, Firefox and IE (and Spartan).

解决方案

I guess you have already installed Tools for Apache Cordova.

Once you did that and you can't install them with the tool, download them manually in their official websites. You can then add the path for these items in :

Tools > Options > Tools for Apache Cordova > Environment Variables

Here is a screen of mine :

I hope it helps

这篇关于如何设置科尔多瓦?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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