Thanks Shaz. There are lots of folks out there that do not know how to set environment variables.
Simon On Nov 9, 2012 5:10 PM, "Shazron Abdullah" <shaz...@gmail.com> wrote: > Hi Simon > I'll do it when I get back to my computer. Right now it's of course on > an Adobe server but this should be better once we are on Apache's > servers and any committer can update > > On 2012-11-09, at 11:45 AM, Simon MacDonald <simon.macdon...@gmail.com> > wrote: > > > What do I need to do to get my latest doc changes up on > docs.phonegap.com? > > I've answered way too many questions about the new getting started guide > > for Android. I've added the additional info to the guides and I'd like to > > see them up on the website so I can just point folks at it. > > > > Simon Mac Donald > > http://hi.im/simonmacdonald > > > > > > On Tue, Nov 6, 2012 at 3:22 PM, Simon MacDonald > > <simon.macdon...@gmail.com>wrote: > > > >> Can we get this latest change up on docs.phonegap.com? The masses are > not > >> used to setting up environment variables. > >> > >> Simon Mac Donald > >> http://hi.im/simonmacdonald > >> > >> > >> > >> ---------- Forwarded message ---------- > >> From: <macdo...@apache.org> > >> Date: Tue, Nov 6, 2012 at 3:17 PM > >> Subject: docs commit: Add setup environment variables to getting started > >> Android > >> To: callback-comm...@incubator.apache.org > >> > >> > >> Updated Branches: > >> refs/heads/master 8ba0943c1 -> c57461e44 > >> > >> > >> Add setup environment variables to getting started Android > >> > >> > >> Project: > >> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo > >> Commit: > >> > http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/c57461e4 > >> Tree: > >> > http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/c57461e4 > >> Diff: > >> > http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/c57461e4 > >> > >> Branch: refs/heads/master > >> Commit: c57461e446cd0db8e43c05dd162d4e6cec444801 > >> Parents: 8ba0943 > >> Author: Simon MacDonald <simon.macdon...@gmail.com> > >> Authored: Tue Nov 6 15:16:53 2012 -0500 > >> Committer: Simon MacDonald <simon.macdon...@gmail.com> > >> Committed: Tue Nov 6 15:17:03 2012 -0500 > >> > >> ---------------------------------------------------------------------- > >> .../2.2.0/guide/getting-started/android/index.md | 41 > +++++++++++++- > >> .../en/edge/guide/getting-started/android/index.md | 41 > +++++++++++++- > >> 2 files changed, 76 insertions(+), 6 deletions(-) > >> ---------------------------------------------------------------------- > >> > >> > >> > >> > http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/c57461e4/docs/en/2.2.0/guide/getting-started/android/index.md > >> ---------------------------------------------------------------------- > >> diff --git > a/docs/en/2.2.0/guide/getting-started/android/index.mdb/docs/en/2.2.0/guide/getting-started/android/ > >> index.md > >> index 58f10e1..b672e98 100644 > >> --- a/docs/en/2.2.0/guide/getting-started/android/index.md > >> +++ b/docs/en/2.2.0/guide/getting-started/android/index.md > >> @@ -36,7 +36,42 @@ This guide describes how to set up your development > >> environment for Cordova and > >> - Download and install [ADT Plugin]( > >> http://developer.android.com/sdk/eclipse-adt.html#installing) > >> - Download the latest copy of [Cordova]( > >> http://incubator.apache.org/cordova/#download) and extract its > contents. > >> We will be working with the Android directory. > >> > >> -3. Setup New Project > >> + > >> +3A. Setup your PATH environment variable on Mac OS > >> +--------------------------------------- > >> + > >> +- Open the Terminal program (this is in your Applications/Utilites > folder > >> by default). > >> +- Run the following command > >> + > >> +`touch ~/.bash_profile; open ~/.bash_profile` > >> + > >> +- This will open the file in the your default text editor. > >> +- You need to add the path to your Android SDK platform-tools and tools > >> directory. In my example I will use "/Development/android-sdk-macosx" as > >> the directory the SDK is installed in. Add the following line: > >> + > >> +`export > >> > PATH=${PATH}:/Development/android-sdk-macosx/platform-tools:/Development/android-sdk-macosx/tools` > >> + > >> +- Save the file and quit the text editor. > >> +- Execute your .bash_profile to update your PATH. > >> + > >> +`source ~/.bash_profile` > >> + > >> +- Now everytime you open the Terminal program you PATH will included > the > >> Android SDK. > >> + > >> +3B. Setup your PATH environment variable on Windows > >> +--------------------------------------- > >> + > >> +- From the Desktop, right-click My Computer and click Properties. > >> +- Click Advanced System Settings link in the left column. > >> +- In the System Properties window click the Environment Variables > button. > >> +- Select the PATH variable from the System variables section. > >> +- Select the Edit button. > >> +- You need to add the path to your Android SDK platform-tools and tools > >> directory. In my example I will use > "C:\Development\android-sdk-windows" as > >> the directory the SDK is installed in. Append the following text into > the > >> text box: > >> + > >> > >> > +`;C:\Development\android-sdk-windows\platform-tools;C:\Development\android-sdk-windows\tools` > >> + > >> +- Save your edit. Close the Environment Variables dialog. > >> + > >> +4. Setup New Project > >> -------------------- > >> > >> - In a terminal window, navigate to the `bin` directory within the > >> `android` subfolder of the Cordova distribution. > >> @@ -51,7 +86,7 @@ This guide describes how to set up your development > >> environment for Cordova and > >> - Select the directory you used for `<project_folder_path>` > >> - Click Finish. > >> > >> -4A. Deploy to Emulator > >> +5A. Deploy to Emulator > >> ---------------------- > >> > >> - Right click the project and go to **Run As > Android Application** > >> @@ -67,7 +102,7 @@ This guide describes how to set up your development > >> environment for Cordova and > >> - When starting the emulator, ensure there are no error messages about > >> the HAX module failing to load. > >> > >> > >> -4B. Deploy to Device > >> +5B. Deploy to Device > >> -------------------- > >> > >> - Make sure USB debugging is enabled on your device and plug it into > your > >> system. (**Settings > Applications > Development**) > >> > >> > >> > http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/c57461e4/docs/en/edge/guide/getting-started/android/index.md > >> ---------------------------------------------------------------------- > >> diff --git > a/docs/en/edge/guide/getting-started/android/index.mdb/docs/en/edge/guide/getting-started/android/ > >> index.md > >> index 58f10e1..b672e98 100644 > >> --- a/docs/en/edge/guide/getting-started/android/index.md > >> +++ b/docs/en/edge/guide/getting-started/android/index.md > >> @@ -36,7 +36,42 @@ This guide describes how to set up your development > >> environment for Cordova and > >> - Download and install [ADT Plugin]( > >> http://developer.android.com/sdk/eclipse-adt.html#installing) > >> - Download the latest copy of [Cordova]( > >> http://incubator.apache.org/cordova/#download) and extract its > contents. > >> We will be working with the Android directory. > >> > >> -3. Setup New Project > >> + > >> +3A. Setup your PATH environment variable on Mac OS > >> +--------------------------------------- > >> + > >> +- Open the Terminal program (this is in your Applications/Utilites > folder > >> by default). > >> +- Run the following command > >> + > >> +`touch ~/.bash_profile; open ~/.bash_profile` > >> + > >> +- This will open the file in the your default text editor. > >> +- You need to add the path to your Android SDK platform-tools and tools > >> directory. In my example I will use "/Development/android-sdk-macosx" as > >> the directory the SDK is installed in. Add the following line: > >> + > >> +`export > >> > PATH=${PATH}:/Development/android-sdk-macosx/platform-tools:/Development/android-sdk-macosx/tools` > >> + > >> +- Save the file and quit the text editor. > >> +- Execute your .bash_profile to update your PATH. > >> + > >> +`source ~/.bash_profile` > >> + > >> +- Now everytime you open the Terminal program you PATH will included > the > >> Android SDK. > >> + > >> +3B. Setup your PATH environment variable on Windows > >> +--------------------------------------- > >> + > >> +- From the Desktop, right-click My Computer and click Properties. > >> +- Click Advanced System Settings link in the left column. > >> +- In the System Properties window click the Environment Variables > button. > >> +- Select the PATH variable from the System variables section. > >> +- Select the Edit button. > >> +- You need to add the path to your Android SDK platform-tools and tools > >> directory. In my example I will use > "C:\Development\android-sdk-windows" as > >> the directory the SDK is installed in. Append the following text into > the > >> text box: > >> + > >> > >> > +`;C:\Development\android-sdk-windows\platform-tools;C:\Development\android-sdk-windows\tools` > >> + > >> +- Save your edit. Close the Environment Variables dialog. > >> + > >> +4. Setup New Project > >> -------------------- > >> > >> - In a terminal window, navigate to the `bin` directory within the > >> `android` subfolder of the Cordova distribution. > >> @@ -51,7 +86,7 @@ This guide describes how to set up your development > >> environment for Cordova and > >> - Select the directory you used for `<project_folder_path>` > >> - Click Finish. > >> > >> -4A. Deploy to Emulator > >> +5A. Deploy to Emulator > >> ---------------------- > >> > >> - Right click the project and go to **Run As > Android Application** > >> @@ -67,7 +102,7 @@ This guide describes how to set up your development > >> environment for Cordova and > >> - When starting the emulator, ensure there are no error messages about > >> the HAX module failing to load. > >> > >> > >> -4B. Deploy to Device > >> +5B. Deploy to Device > >> -------------------- > >> > >> - Make sure USB debugging is enabled on your device and plug it into > your > >> system. (**Settings > Applications > Development**) > >> > >> > >> >