You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ey...@apache.org on 2016/02/16 01:47:09 UTC
cordova-lib git commit: CB-10235 Added clearer error message for info
command. This closes #379
Repository: cordova-lib
Updated Branches:
refs/heads/master 28e8b33f6 -> 38415d0e3
CB-10235 Added clearer error message for info command. This closes #379
Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/38415d0e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/38415d0e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/38415d0e
Branch: refs/heads/master
Commit: 38415d0e3c21dda2acf6f80e4b5a681f5313810b
Parents: 28e8b33
Author: Karen Tran <kt...@gmail.com>
Authored: Sat Feb 6 21:15:22 2016 -0500
Committer: Edna Morales <ed...@gmail.com>
Committed: Mon Feb 15 19:46:01 2016 -0500
----------------------------------------------------------------------
cordova-lib/src/cordova/info.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/38415d0e/cordova-lib/src/cordova/info.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/cordova/info.js b/cordova-lib/src/cordova/info.js
index f012638..4e1dac6 100644
--- a/cordova-lib/src/cordova/info.js
+++ b/cordova-lib/src/cordova/info.js
@@ -43,7 +43,7 @@ function getPlatformInfo(platform, projectRoot) {
case 'ios':
return execSpawn('xcodebuild', ['-version'], 'iOS platform:\n\n', 'Error retrieving iOS platform information: ');
case 'android':
- return execSpawn('android', ['list', 'target'], 'Android platform:\n\n', 'Error retrieving Android platform information: ');
+ return execSpawn('android', ['list', 'target'], 'Android platform:\n\n', 'Error retrieving Android platform information: \nAndroid SDK is not set up properly. Make sure that the Android SDK \'tools\' and \'platform-tools\' directories are in the PATH variable. \n\n');
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org