You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2012/11/09 20:42:03 UTC

docs commit: Adding more info to Android Getting Started

Updated Branches:
  refs/heads/master 04d4836b4 -> 3f835a256


Adding more info to Android Getting Started


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/3f835a25
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/3f835a25
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/3f835a25

Branch: refs/heads/master
Commit: 3f835a2566005c48ac76dac518c3e3b7e6b20fef
Parents: 04d4836
Author: Simon MacDonald <si...@gmail.com>
Authored: Fri Nov 9 14:41:51 2012 -0500
Committer: Simon MacDonald <si...@gmail.com>
Committed: Fri Nov 9 14:41:51 2012 -0500

----------------------------------------------------------------------
 .../2.2.0/guide/getting-started/android/index.md   |   12 ++++++++++++
 .../en/edge/guide/getting-started/android/index.md |   12 ++++++++++++
 2 files changed, 24 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/3f835a25/docs/en/2.2.0/guide/getting-started/android/index.md
----------------------------------------------------------------------
diff --git a/docs/en/2.2.0/guide/getting-started/android/index.md b/docs/en/2.2.0/guide/getting-started/android/index.md
index b672e98..d0c788b 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
@@ -70,6 +70,9 @@ This guide describes how to set up your development environment for Cordova and
 `;C:\Development\android-sdk-windows\platform-tools;C:\Development\android-sdk-windows\tools`
 
 - Save your edit. Close the Environment Variables dialog.
+- Additionally, you may need to include `%JAVA_HOME%\bin` to your PATH as well. To check to see if this is required, run a command prompt and type `java`. If the program can not be found add `%JAVA_HOME%\bin` to the PATH. You may need to specify the full path instead of using the `%JAVA_HOME%` environment variable.
+- Finally, you may need to include `%ANT_HOME%\bin` to your PATH as well. To check to see if this is required, run a command prompt and type `any`. If the program can not be found add `%ANT_HOME%\bin` to the PATH. You may need to specify the full path instead of using the `%ANT_HOME%` environment variable.
+
 
 4. Setup New Project
 --------------------
@@ -86,6 +89,15 @@ This guide describes how to set up your development environment for Cordova and
 - Select the directory you used for `<project_folder_path>`
 - Click Finish.
 
+If your project has a red X indicating there is a problem follow these additional steps:
+
+- Right click on the project folder.
+- In the Properties dialog that is displayed select Android from the navigation pane.
+- For the project build target select the highest Android API level you have installed.
+- Click OK
+- Then from the Project menu bar item select Clean.
+- This should correct all the errors in the project.
+
 5A. Deploy to Emulator
 ----------------------
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/3f835a25/docs/en/edge/guide/getting-started/android/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/getting-started/android/index.md b/docs/en/edge/guide/getting-started/android/index.md
index b672e98..d0c788b 100644
--- a/docs/en/edge/guide/getting-started/android/index.md
+++ b/docs/en/edge/guide/getting-started/android/index.md
@@ -70,6 +70,9 @@ This guide describes how to set up your development environment for Cordova and
 `;C:\Development\android-sdk-windows\platform-tools;C:\Development\android-sdk-windows\tools`
 
 - Save your edit. Close the Environment Variables dialog.
+- Additionally, you may need to include `%JAVA_HOME%\bin` to your PATH as well. To check to see if this is required, run a command prompt and type `java`. If the program can not be found add `%JAVA_HOME%\bin` to the PATH. You may need to specify the full path instead of using the `%JAVA_HOME%` environment variable.
+- Finally, you may need to include `%ANT_HOME%\bin` to your PATH as well. To check to see if this is required, run a command prompt and type `any`. If the program can not be found add `%ANT_HOME%\bin` to the PATH. You may need to specify the full path instead of using the `%ANT_HOME%` environment variable.
+
 
 4. Setup New Project
 --------------------
@@ -86,6 +89,15 @@ This guide describes how to set up your development environment for Cordova and
 - Select the directory you used for `<project_folder_path>`
 - Click Finish.
 
+If your project has a red X indicating there is a problem follow these additional steps:
+
+- Right click on the project folder.
+- In the Properties dialog that is displayed select Android from the navigation pane.
+- For the project build target select the highest Android API level you have installed.
+- Click OK
+- Then from the Project menu bar item select Clean.
+- This should correct all the errors in the project.
+
 5A. Deploy to Emulator
 ----------------------