Thursday 10 April 2014

How to Configure Phonegap for Android in Windows.

Hello Friends,

Today, we are going to set-up the environment for Android Phoengap 3.

For more videos please follow this channels
Please get the latest details about programming
visit our website


1) Install the latest JDK on you PC. Download JDK
2) Download the latest SDK for Android DevelopmentDownload Android SDK and Eclipse
3) Download the Ant BinaryDownload Ant Binary
4) Extract the ant Binary ZIP. Copy all the Files into the Downloaded SDK folder.




here is the path where you have to copy the ant files.
adt-bundle/sdk/tools/ant

Configuration of Path Variables.








5) Right Click on "My Computer" => Properties
6) Click on "Advance System Settings" on Left Side.
7) In Advance Tab Click on "Environment Variables" button.
8) Copy you Installed jdk path and Create New Variable and Name it "JAVA_HOME" as listed in Image.

9) Now Edit the "Path"Variable in First Section. Add the Following paths to the end of the existing path
       1) Add you sdk platform tools path :  C\Android Developement\adt-bundle\sdk\platform-tools
       2) Add you sdk tools path : C:\Android Developement\adt-bundle\sdk\tools
       3) Add you sdk ant path : C:\Android Developement\adt-bundle\sdk\tools\ant\bin
       4) Add your Java home path : %JAVA_HOME%\bin

10) All in one you will get the following full path for "Path" variable.
;C\Android Developement\adt-bundle\sdk\platform-tools; C:\Android Developement\adt-bundle\sdk\tools; C:\Android Developement\adt-bundle\sdk\tools\ant\bin; %JAVA_HOME%\bin

11) Create Same thing for the System Variable Section just below the User Variables.
12) For testing just open your "Command Prompt" and type "java" for testing the Java Path and "ant" for ant binary path.


For more videos please follow this channels
Please get the latest details about programming
visit our website



Thank You
Abhishek Bendre

No comments:

Post a Comment