I myself use phonegap on linux, for this I installed the SDK for Android using Eclipse (Eclipse JUNO for Linux), and for convenience I use the applauding plugin for eclipse.
Installation steps:
VARIABLE ENHANCED ENVIRONMENT
On Linux, the PATH environment variable can be defined in the ~ / .bashrc ~ / .bash_profile file. If you have one of these files, use a text editor such as gedit, vi, or Emacs to open the file and look for a string that exports the PATH variable. If you find such a line, edit it to add the full path to the tool directory to the path. If there is no such line, you can add a line like this:
export PATH = $ {PATH}: your_sdk_dir / tools where you put the full path instead
your_sdk_dir.
For more help, contact
http://fyi.oreilly.com/2009/02/setting-up-your-android-develo.html
Shobhit sharma
source share