Friday, 2 October 2015

Create Phonegap project by using command Prompt

Step-1. Go to the PhoneGap Site and download the PhoneGap repo.

Step-2. Extract that PhoneGap repo paste inside your Program File.

Step-3. Go to the Apache Ant site and download the Ant binary.

Step-4. Extract Ant Binary zip file inside your C Drive.

Step-5. Set ANT_HOME environment variables.

Step-6. Set JAVA_HOME environment variables

Step-7. Go to the Android Developer site and download Android Studio.

Step-8. Update Your Android Path Variables

Step-7. Open command prompt and move inside

C:\Program File\yourPhoneGapParentDirectory\lib\android\bin





Step-8. Write below command for creating sample phonegap application

create E:\phonegap\example packagename ApplicationName

Don't create example directory it will automatically create when you will press enter after writing above command

for example in my case---

create E:\phonegap\example com.test.phonegap phonegapDemo

Finally now you will be able to see phonegap demo project inside example directory


No comments:

Post a Comment