Skip to content

Instantly share code, notes, and snippets.

@aaronmcadam
Created October 11, 2010 22:43
Show Gist options
  • Save aaronmcadam/621365 to your computer and use it in GitHub Desktop.
Save aaronmcadam/621365 to your computer and use it in GitHub Desktop.
Command and instructions for setting up a new phonegap-android project
# IMPORTANT! Use Ruby 1.9.1
# command that works for creating a new phonegap-android project
ruby bin/droidgap classic "C:/android-sdk/android-sdk-windows" TestGap TestGap.com "C:/www" "C:/phonegap/projects/TestGap"
# Open Eclipse and File -> New -> Project. Then choose Android -> Android Project. Give your project a name, click the radio button for "Create project from existing source", and browse to your generated project folder.
# Don't forget to add the phonegap.jar to your project. Expand the libs folder and then right-click on phonegap.jar and choose "BuildPath -> Add to Build Path"
@aaronmcadam
Copy link
Author

Command and instructions for setting up a new phonegap-android project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment