I am developing Android Application using jQuery Mobile and Phonegap and as I mention in the question I need to open Android project through Command Line, I set 3 path in my Environmental Variable.
- ANT_HOME (C:\Program Files\apache-ant-1.9.4-bin\apache-ant-1.9.4\bin)
- JAVA_HOME (C:\Program Files\Java\jdk1.7.0_07)
- PATH (C:\Program Files\Java\jdk1.7.0_07\bin)
I download the latest version of Phonegap, then in command line i give path to phonegap folder.
cd C:\Users\UserName\Desktop\phonegap\phonegap-2.9.1\phonegap-2.9.1\lib\android\bin
It's working good then I type
create (path of folder to create App)com.example.project DemoApp
output is:
Cannot not locate ant.bat using the PATH variable.
0 comments:
Post a Comment