Definitions
AVP = Android virtual phone (you do not need all phones to check the code, use the emulator)
ADB = application to enter the application from the command line to the phone
ADT-plugin in Eclipse = adding some buttons in Eclipse for things like adding AVP
ADT = Android development tools (not sure if they are in fact, perhaps emulation related things containing things like linux kernels, APIs, etc.)
I am trying to provide instructions for console-power users, which I hope will help to quickly configure the settings, and not spend a lot of time on cumbersome instructions.
1. Set up a development environment such as the Android SDK here .
$ wget http://dl.google.com/android/android-sdk_r18-linux.tgz $ tar -xvzf *.tgz $ ...follow README or some tutorial there...
I. Now return to the Android SDK site, where you can find the ADT plugin for Eclipse here . The unclikable button becomes clickable if you search using the search-bar for Android. ADT means Android Development Tools, so install whatever you get there under something tools or related.
II. Fix @override -problem (soon 1.6-compiler-level matching is required), more here .
III. Test the Android installation by downloading the Android sample file and then turning on the phone (with the USB connection turned on: Settings> Development> click) or use the Android Virtual Phone (= AVP)
$ adb devices
2. Configure Phonegap as follows:
Some general instructions are apparently here .
iOS: you need Xcode, which is somewhat limited.
Perhaps useful, source -code is here and general download is here .
Instructions are extremely inaccessible with Eclipse mouse click - something bad! After wasting time with Eclipse symbolic links, I jumped to the console:
$ tree|less $ search for the files needed, mark them done or use find -command directly ^C $ copy the files to some dir such as ~/Android/Public so easier to do ^C $ things at once ^C $ pwd /home/xyz/workspace/HelloCordova/res $ cp ~/Android/phonegap-phonegap-475bfd2/lib/android/xml