Table of Contents


Cordova Website or
(they both point to the same site).
Cordova Documentation
Cordova Wiki
Cordova Issue Tracker
Cordova Mailing Lists
Cordova Twitter Account
PhoneGap Website
PhoneGap Wiki
PhoneGap Blog
PhoneGap Twitter Account
To stay informed about what is going on with the project, you can sign up for the mailing lists at

Installing Cordova

Android Platform Guide - deploying cordova android applications

Install Linux

Install node.js


For Android development, install Java Development Kit

sudo apt-get install openjdk-7-jdk
java -version

Set JAVA_HOME environment variable to list where java is installed (maybe put in .bashrc)
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64

Install Eclipse

Install Android Developer Tools (ADT)
  1. Unpack the ZIP file (named and save it to an appropriate location, such as a "Development" directory in your home directory.
  2. Open the adt-bundle-/eclipse/ directory and launch Eclipse.

taken from
  1. Start Eclipse, then select Help > Software Updates > Find and Install….
  2. In the dialog that appears, select Search for new features to install and press Next.
  3. Press New Remote Site.
  4. In the resulting dialog box, enter a name for the remote site (e.g. Android Plugin) and enter this as its URL:
  5. Press OK.
  6. You should now see the new site added to the search list (and checked).
  7. Press Finish.
  8. In the subsequent Search Results dialog box, select the checkbox for Android Plugin > Eclipse Integration > Android Development Tools and press Next.
  9. Read the license agreement and then select Accept terms of the license agreement, if appropriate.
  10. Press Next.
  11. Press Finish.
  12. The ADT plugin is not signed; you can accept the installation anyway by pressing Install All.
  13. Restart Eclipse.
  14. After restart, update your Eclipse preferences to point to the SDK root directory ($SDK_ROOT):
    Select Window > Preferences… to open the Preferences panel. (Mac OS X: Eclipse > Preferences)
    Select Android from the left panel.
    For the SDK Location in the main panel, press Browse... and find the SDK root directory.
  15. Press Apply, then OK

Updating the ADT Plugin

To update the ADT plugin to the latest version, follow these steps:

  1. Select Help > Software Updates > Find and Install….
  2. Select Search for updates of the currently installed features and press Finish.
  3. If any update for ADT is available, select and install.


  1. Select Help > Software Updates > Manage Configuration.
  2. Navigate down the tree and select Android Development Tools <version>
  3. Select Scan for Updates under Available Tasks.

Install Apache Ant?


Install android SDK
  1. Edit the ~/.bash_profile or ~/.bashrc files looking for a line that sets the PATH variable.
  2. Edit the ~/.bash_profile or ~/.bashrc files looking for a line that sets the PATH variable.
  3. Add the full path location to your $SDK_ROOT/tools location for the PATH variable.
  4. If no PATH line exists you can add the line by typing the following: export PATH=${PATH}:<path to your $SDK_ROOT/tools>
  5. .bashrc and add notes

    export ANDROID_BIN=$HOME/Development/adt-bundle-linux-x86_64-20140624/sdk/tools export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 PATH=$PATH:~/bin:~:$HOME/local/bin:/home/jim/Development/adt-bundle-linux-x86_64-20140624/sdk/tools:/home/jim/Development/adt-bundle-linux-x86_64-20140624/eclipse:$HOME/Development/adt-bundle-linux-x86_64-20140624/sdk/platform-tools:$ANT_HOME/bin

    'eclipse' - runs eclipse

    'android' - runs android development environment

    'cordova build' - builds all environments installed



    install errors

    Cordova 3.4.0 Install Error- Please Install Android Target 19
    aapt not found under the right path
    Android : error cannot open shared object file: No such file or directory
    apt-get install libgl1-mesa-dev