Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B027AD5C0 for ; Fri, 9 Nov 2012 22:19:38 +0000 (UTC) Received: (qmail 66595 invoked by uid 500); 9 Nov 2012 22:19:38 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 66529 invoked by uid 500); 9 Nov 2012 22:19:38 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 66520 invoked by uid 99); 9 Nov 2012 22:19:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 22:19:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simon.macdonald@gmail.com designates 209.85.160.47 as permitted sender) Received: from [209.85.160.47] (HELO mail-pb0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 22:19:34 +0000 Received: by mail-pb0-f47.google.com with SMTP id ro12so2851837pbb.6 for ; Fri, 09 Nov 2012 14:19:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HNsZLvrYvdVgALKeJ1xAwWazoPxTgY9bKuK7E+QTRyg=; b=WrC5WcYPDG2jH4ygEDlJQEqYL2jbOn4zxQYdI370mkBFl4DSQQzFrkpOV+IfnyvVqA pOzRMV+FG2bt4H3u5Pdyq1Wx3oQqxyZU6R87rhDQCnmUAioZLa6hSk0g6IrAXIFwKtVo utbB+6szMwP4r5i6bBfm7OVw42xPT/xWMlIzohDvgmIrJlbWLgiJYlzT2XyVKdLPpjv+ RBui06fJvHzOcSm2imRYp1RL4wwcN/qcy2C4BPdpGdScETPrbdc184hguLDkdGH1P3vG I0ojWELtCPPxytI3ZVDTalJGey9Zs4bJrMp1aArwgqK9oka5exxSTUtLEZeA+tncmW12 Hdaw== MIME-Version: 1.0 Received: by 10.68.247.196 with SMTP id yg4mr37951731pbc.167.1352499553996; Fri, 09 Nov 2012 14:19:13 -0800 (PST) Received: by 10.68.227.101 with HTTP; Fri, 9 Nov 2012 14:19:13 -0800 (PST) Received: by 10.68.227.101 with HTTP; Fri, 9 Nov 2012 14:19:13 -0800 (PST) In-Reply-To: <-6534850357866630526@unknownmsgid> References: <20121106201724.CE4C344C79@tyr.zones.apache.org> <-6534850357866630526@unknownmsgid> Date: Fri, 9 Nov 2012 17:19:13 -0500 Message-ID: Subject: Re: docs commit: Add setup environment variables to getting started Android From: Simon MacDonald To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=047d7b2e0f0779913404ce17571b X-Virus-Checked: Checked by ClamAV on apache.org --047d7b2e0f0779913404ce17571b Content-Type: text/plain; charset=ISO-8859-1 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" 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 > 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 > > 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: > >> Date: Tue, Nov 6, 2012 at 3:17 PM > >> Subject: docs commit: Add setup environment variables to getting started > >> Android > >> To: callback-commits@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 > >> Authored: Tue Nov 6 15:16:53 2012 -0500 > >> Committer: Simon MacDonald > >> 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 `` > >> - 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 `` > >> - 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**) > >> > >> > >> > --047d7b2e0f0779913404ce17571b--