23 January 2015

Installing Phonegap for Android without command-line

PhoneGap is used to make Android,iOS,Windows etc. Apps using html or css. We will learn to install PhoneGap in adt-bundle to develop android app using html, javascript and css.

What will we do?
We will make PhoneGap application in adt-bundle.

What we will need?
Step 1: Download Java jdk from here .If you already have it no need to re-install.

Step 2 : Download adt-bundle(android-sdk). If present already do not re-install it. Check in here for download

Step 3 : Download Apache ant from


Step 4 : Make a folder as ant in C:/ drive . Decompress the apache-ant . Copy the content of apache-ant to C:/ant.

Step 5 : Download Phonegap 2.2.0 from
We will use Phonegap 2.2.0 since it is stable compared to other versions.


 Step 6 : Decomress the rar/zip file to Desktop.

Step 7 : Go to Start->Right-click on Computer->Properties

Step 6: Go to Advanced System Settings-> Environment Variables->double-click PATH in User variables for User If PATH not there create New (Variable Name- PATH).Value for PATH is given below.
Note down the Path for 
1. platform-tools in adt-bundle (C:\adt-bundle-windows-x86\sdk\platform-tools\)
 2. tools in adt-bundle (C:\adt-bundle-windows-x86\sdk\tools\)
3.bin in Java (C:\Program Files\Java\jdk1.8.0_11\bin\)
4. bin in ant (C:\ant\bin)

NOTE : Add semi-colon(;) between each path and at the end

Paste the above whole path from the Notepad to the value in PATH variable.

Path for my Computer would be:
Variable name: PATH
Variable path :  C:\adt-bundle-windows-x86\sdk\platform-tools\;C:\adt-bundle-windows-x86\sdk\tools\;C:\Program Files\Java\jdk1.8.0_11\bin\;C:\ant\bin;

Click OK

Step 7 : Click on New under System Variables and and create a variable with
Variable name : ANT_HOME
Variable value : C:\ant

Do the same for another variable
Variable name : JAVA_HOME
Variable value : C:\Program Files\Java\jdk1.8.0_11\
You'll get the below result.
Continued to the next post.
Stay Tuned with Made In Android

Previous Page Next Page Home

2 comments:

Top