On Phonegap.com, the Getting Started with Android? page have the sections:
but no section for Linux. Why ? what should I do if on Linux (Ubuntu) ?
I myself use phonegap on linux, for that i have installed android SDK via Eclipse (Eclipse JUNO for linux) and for ease of access, I use applaud plugin for eclipse.
Steps for installation:
Download eclipse from "Software center" or from eclipse's website.
For Android SDK use instructions given on Android developers' site (http://developer.android.com/sdk/installing/installing-adt.html )
Applaud plugin(Optional): http://www.mobiledevelopersolutions.com/home/start This site contains a step-by-step procedure of installing Android SDK and applaud plugin.
PATH ENVIRONMENT VARIABLE
On Linux, the PATH environment variable can be defined in your ~/.bashrc ~/.bash_profile file. If you have either of those files, use a text editor such as gedit, vi, or Emacs to open the file and look for a line that exports the PATH variable. If you find such a line, edit it to add the full path of the tools 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 in place of
your_sdk_dir.
For further help, please refer to
http://fyi.oreilly.com/2009/02/setting-up-your-android-develo.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With