Cordova
Table of Contents
References
Cordova Website				http://cordova.io or http://cordova.apache.org
(they both point to the same site).
Cordova Documentation 		http://docs.cordova.io
Cordova Wiki 				http://wiki.cordova.io
Cordova Issue Tracker 		https://issues.apache.org/jira/browse/CB
Cordova Mailing Lists 		http://cordova.apache.org/#mailing-list
Cordova Twitter Account		http://twitter.com/apachecordova
PhoneGap Website 			http://www.phonegap.com
PhoneGap Wiki 				http://wiki.phonegap.com
PhoneGap Blog 				http://www.phonegap.com/blog
PhoneGap Twitter Account https://twitter.com/phonegap
To stay informed about what is going on with the project, you can sign up for the mailing lists at
http://cordova.apache.org/#mailing-list
Installing Cordova
Android Platform Guide - deploying cordova android applications
Install Linux
 
Install node.js
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)
http://developer.android.com/sdk/installing/index.html?pkg=adt
- Unpack the ZIP file (named adt-bundle-.zip) and save it to an appropriate location, such as a "Development" directory in your home directory.
- Open the adt-bundle-/eclipse/ directory and launch Eclipse.
OR
taken from http://www.talkandroid.com/guides/developer/android-sdk-install-guide/
- Start Eclipse, then select Help > Software Updates > Find and Install….
- In the dialog that appears, select Search for new features to install and press Next.
- Press New Remote Site.
- In the resulting dialog box, enter a name for the remote site (e.g. Android Plugin) and enter this as its URL: https://dl-ssl.google.com/android/eclipse/.
- Press OK.
- You should now see the new site added to the search list (and checked).
- Press Finish.
- In the subsequent Search Results dialog box, select the checkbox for Android Plugin > Eclipse Integration > Android Development Tools and press Next.
- Read the license agreement and then select Accept terms of the license agreement, if appropriate.
- Press Next.
- Press Finish.
- The ADT plugin is not signed; you can accept the installation anyway by pressing Install All.
- Restart Eclipse.
- 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.
- Press Apply, then OK
Updating the ADT Plugin
To update the ADT plugin to the latest version, follow these steps:
- Select Help > Software Updates > Find and Install….
- Select Search for updates of the currently installed features and press Finish.
- If any update for ADT is available, select and install.
Alternatively:
- Select Help > Software Updates > Manage Configuration.
- Navigate down the tree and select Android Development Tools <version>
- Select Scan for Updates under Available Tasks.
Install Apache Ant?
CLI - 
http://ant.apache.org/
Install android SDK
http://www.talkandroid.com/guides/developer/android-sdk-install-guide/
Edit the ~/.bash_profile or ~/.bashrc files looking for a line that sets the PATH variable.
Edit the ~/.bash_profile or ~/.bashrc files looking for a line that sets the PATH variable.
Add the full path location to your $SDK_ROOT/tools location for the PATH variable.
If no PATH line exists you can add the line by typing the following: export PATH=${PATH}:<path to your $SDK_ROOT/tools>.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
~/node-latest-install/hello
~/Development/adt-bundle-linux-x86_64-20140624/eclipse
install errors
Cordova 3.4.0 Install Error- Please Install Android Target 19
aapt not found under the right path
Android : error libGL.so: cannot open shared object file: No such file or directory
apt-get install libgl1-mesa-dev