Phonegap: Getting started with Android? - on Linux

Is Phonegap.com Getting Started with Android? page have sections:

  • 3A. Set PATH environment variable on Mac OS
  • 3B. Set the PATH environment variable on Windows

but there is no partition for Linux. What for? What to do if on Linux (Ubuntu)?

+7
source share
1 answer

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

+10
source