Configure the Visual Studio Tools for Apache Cordova
2016-08-25 17:26
323 查看
http://taco.visualstudio.com/en-us/docs/configure-vs-tools-apache-cordova/
推荐使用x86的Node
We recommend installing the x86 version of Node.js. Before installing this software, read about safely installing Node.js.
还推荐使用0.x版本的Node
http://taco.visualstudio.com/en-us/docs/change-node-version/
测试 CMD
node -v
运行Ripple模拟器所必需
这越高越好 没有关系
Caution: Git command line tools 1.9.5 are installed by default. Unexpected failures may occur if you install a version prior to 1.9.0.
测试CMD
git –version
4.Apache Ant
http://ant.apache.org/bindownload.cgi
推荐下载tar.gz的包 zip貌似下不了?
解压好后把路径放在
C:\Program Files\apache-ant-1.9.7
5.32-bit Oracle Java 7
32位JDK7
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
6.Android SDK
如果正确默认路径安装Android Studio并且能用Android Studio编译出APP
则在
C:\Users\YY\AppData\Local\Android\sdk
存在
SDK Manager.exe
运行
勾选
Android SDK Tools (latest version)
Android SDK Platform-tools (latest version)
Android SDK Build-tools (19.1, 19.0.3, and 21)
然而,目前的版本找不到19.0.3 = = 作为替代,把20勾上了
Android 5.0 (API level 21) with the following packages:
也没有看到5.0 而是5.0.1 不过API level都是21
如果想要用虚拟机,把下面的平台也勾上,不过还是推荐真机调试
勾选好了就 install packages
这个貌似不用翻墙,比较良心
当出现
Done loading packages,就装好了
7.Override system environment variables
ADT_HOME points to the Android installation path.
ANT_HOME points to the Ant folder on your computer.
GIT_HOME points to the Git installation path.
JAVA_HOME points to the Java installation path.
1.Nodejs
https://nodejs.org/en/推荐使用x86的Node
We recommend installing the x86 version of Node.js. Before installing this software, read about safely installing Node.js.
还推荐使用0.x版本的Node
http://taco.visualstudio.com/en-us/docs/change-node-version/
测试 CMD
node -v
2.chrome
https://www.google.com/chrome/browser/desktop/index.html运行Ripple模拟器所必需
3.git
https://git-scm.com/download/这越高越好 没有关系
Caution: Git command line tools 1.9.5 are installed by default. Unexpected failures may occur if you install a version prior to 1.9.0.
测试CMD
git –version
4.Apache Ant
http://ant.apache.org/bindownload.cgi
推荐下载tar.gz的包 zip貌似下不了?
解压好后把路径放在
C:\Program Files\apache-ant-1.9.7
5.32-bit Oracle Java 7
32位JDK7
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
6.Android SDK
如果正确默认路径安装Android Studio并且能用Android Studio编译出APP
则在
C:\Users\YY\AppData\Local\Android\sdk
存在
SDK Manager.exe
运行
勾选
Android SDK Tools (latest version)
Android SDK Platform-tools (latest version)
Android SDK Build-tools (19.1, 19.0.3, and 21)
然而,目前的版本找不到19.0.3 = = 作为替代,把20勾上了
Android 5.0 (API level 21) with the following packages:
也没有看到5.0 而是5.0.1 不过API level都是21
如果想要用虚拟机,把下面的平台也勾上,不过还是推荐真机调试
勾选好了就 install packages
这个貌似不用翻墙,比较良心
当出现
Done loading packages,就装好了
7.Override system environment variables
ADT_HOME points to the Android installation path.
ANT_HOME points to the Ant folder on your computer.
GIT_HOME points to the Git installation path.
JAVA_HOME points to the Java installation path.
相关文章推荐
- Visual Studio Tools for Apache Cordova 入门
- Visual Studio Tools for Apache Cordova,基于HTML 5/JavaScript 开发iOS,Android,Windows应用
- 卸载Visual Studio Tools for Apache Cordova CTP 3.0
- Install Visual Studio Tools for Apache Cordova
- 配置 Visual Studio Tools for Apache Cordova
- Visual Studio Tools for Apache Cordova
- error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found
- vs2013错误,错误 1 error MSB8020: The build tools for Visual Studio 2012
- Microsoft Visual Studio Tools for the Microsoft Office system(3.0 版)
- SQL Server Data Tools – Business Intelligence for Visual Studio 2012安装时提示“The CPU architecture....”的解决方法
- 将kinect for windows SDK v2.0中代码在VS2015中打开运行报错 The build tools for Visual Studio 2012 (Platform Tools
- Microsoft Visual Studio 2005 Tools for the Microsoft Office System (VSTO 2005) 可再发行组件包
- [微软云计算]Quick Lap around the Windows Azure Tools for Microsoft Visual Studio
- error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = ‘v100′) cannot be found.
- error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = ‘v100′) cannot be found.
- error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found.
- error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found
- error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be fou
- Microsoft Visual Studio Tools for the Microsoft Office system(3.0 版)
- error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found