The Android Command for Ionic Framework does not work in Windows 8 CLI?

烈酒焚心 提交于 2019-12-04 11:45:39

Phonegap and cordova installation procedures

what are the need for installiation?

1)node js download:http://nodejs.org/download/ We have node-v0.10.29-x64.msi (64 bit) installation. After install, open command prompt & type "node -v" , then "npm -v", these 2 commands should work without any error in command prompt. Open command prompt - (Click windows and R keynd then enter the cmd)

2)phonegap

http://phonegap.com/install/ Install phonegap on cmd: enter npm install -g phonegap on cmd After installation, files will be placed in C:\Users\Hari\AppData\Roaming\npm folder. You can check the installation by typing the command "phonegap -v" in command prompt.

3)java jdk http://www.oracle.com/technetwork/java/javase/downloads/index.html?ssSourceSiteId=otnjp

We have jdk-8u5-windows-x64.exe file.

You may need to add path variables in My computer-->Right click-->Properties-->Advanced system settigs-->Environment variables

After install, check "java -version" in command prompt. "where java" will help you to identify the installation path of the java.

4)ant download:http://ant.apache.org/

We already have apache-ant-1.9.4-bin.zip portable edition of Ant, We need not to install, just need to extract the zip file & place it in some secure place.

You may need to add path variables in My computer-->Right click-->Properties-->Advanced system settigs-->Environment variables Environment variables name:Ant_Home Ex: C:\Program Files\apache-ant-1.9.4

5)android sdk download:http://developer.android.com/sdk/index.html We have adt-bundle-windows-x86_64-20140624/SDK Manager.exe file.

6)ionic cmd-->npm install -g ionic

7)cordova cmd-->npm install -g cordova


PATH SETTING

My computer-->Right click-->Properties-->Advanced system settigs-->Environment variables Edit the Path and give the like this

C:\Users\prabhu\AppData\Roaming\npm;C:\Program Files\apache-ant-1.9.4\bin;C:\phonegap_project\adt-bundle-windows-x86_64-20131030\sdk\tools;C:\phonegap_project\adt-bundle-windows-x86_64-20131030\sdk\build-tools;C:\Program Files\Java\jdk1.8.0_05\bin;

if Not Run JVM
Set systems variables Click New variable Name:_JAVA_OPTIONS variable value:-Xmx512M


易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!