You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2013/07/25 01:07:37 UTC
[17/23] git commit: [CB-4286] Added known windows issue to README.md
[CB-4286] Added known windows issue to README.md
Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/fae96275
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/fae96275
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/fae96275
Branch: refs/heads/plugman-registry
Commit: fae9627557dac3a84720e15fc8a51b417ae35452
Parents: b494b37
Author: ldeluca <ld...@us.ibm.com>
Authored: Wed Jul 17 14:55:48 2013 -0400
Committer: Fil Maj <ma...@gmail.com>
Committed: Thu Jul 18 13:25:41 2013 -0700
----------------------------------------------------------------------
README.md | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/fae96275/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index bafebe7..3d0bc5e 100644
--- a/README.md
+++ b/README.md
@@ -175,6 +175,31 @@ Please check [Cordova issues with the CLI Component](http://issues.cordova.io).
- Which mobile SDKs you have installed, and which version. Related to this: which Xcode version if you are submitting issues related to iOS
- Any error stack traces you received
+## Known Issues and Troubleshooting
+
+#Windows
+When trying to add a platform on a Windows machine if you run into the following error message:
+ cordova library for "android" already exists. No need to download. Continuing.
+ Checking if platform "android" passes minimum requirements...
+ Checking Android requirements...
+ Running "android list target" (output to follow)
+
+ Error: The command `android` failed. Make sure you have the latest Android SDK installed, and the `android` command (inside the tools/ folder) added t
+ o your path. Output:
+ at C:\Users\me\AppData\Roaming\npm\node_modules\cordova\src\platform.js:185:42
+ at C:\Users\me\AppData\Roaming\npm\node_modules\cordova\src\metadata\android_parser.js:50:13
+ at C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1707:7
+ at exithandler (child_process.js:633:7)
+ at ChildProcess.errorhandler (child_process.js:649:5)
+ at ChildProcess.EventEmitter.emit (events.js:95:17)
+ at Process.ChildProcess._handle.onexit (child_process.js:787:12)
+
+run the command "android list target". If you see:
+ 'xcopy' is not recognized as an internal or external command,
+ operable program or batch file.
+
+at the beginning of the command output, it means you will need to update your Windows Path variable to include xcopy. This location is typically under C:\Windows\System32.
+
## Contributors
Thanks to everyone for contributing! For a list of people involved, please see the `package.json` file.