cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject git commit: Also adding output to error reporting for android min checks
Date Fri, 08 Feb 2013 23:04:44 GMT
Updated Branches:
  refs/heads/master a4babfcfe -> bb8e604ea


Also adding output to error reporting for android min checks


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/bb8e604e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/bb8e604e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/bb8e604e

Branch: refs/heads/master
Commit: bb8e604ea87faea18fcc75e1f81149343aba65bb
Parents: a4babfc
Author: Fil Maj <maj.fil@gmail.com>
Authored: Fri Feb 8 15:08:41 2013 -0800
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Fri Feb 8 15:08:41 2013 -0800

----------------------------------------------------------------------
 src/metadata/android_parser.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/bb8e604e/src/metadata/android_parser.js
----------------------------------------------------------------------
diff --git a/src/metadata/android_parser.js b/src/metadata/android_parser.js
index 253cf67..b47b6a0 100644
--- a/src/metadata/android_parser.js
+++ b/src/metadata/android_parser.js
@@ -42,7 +42,7 @@ module.exports = function android_parser(project) {
 module.exports.check_requirements = function(callback) {
     shell.exec('android list target', {silent:true, async:true}, function(code, output) {
         if (code != 0) {
-            callback('The command `android` failed. Make sure you have the latest Android
SDK installed, and the `android` command (inside the tools/ folder) added to your path.');
+            callback('The command `android` failed. Make sure you have the latest Android
SDK installed, and the `android` command (inside the tools/ folder) added to your path. Output:
' + output);
         } else {
             if (output.indexOf('android-17') == -1) {
                 callback('Please install Android target 17 (the Android 4.2 SDK). Make sure
you have the latest Android tools installed as well. Run `android` from your command-line
to install/update any missing SDKs or tools.');


Mime
View raw message