Christian Kleineidam created CB-7421:
----------------------------------------
Summary: Better Error Messages for missing Android sdk not build
in PATH
Key: CB-7421
URL: https://issues.apache.org/jira/browse/CB-7421
Project: Apache Cordova
Issue Type: Improvement
Components: Android
Affects Versions: 3.5.0
Environment: Windows
Reporter: Christian Kleineidam
Priority: Minor
When calling: "cordova platform add android" on a Windows machine where the
Android SDK isn't in PATH Cordova aborts with an error.
Currently the Error message is "Error: An error occurred while listing Android
targets".
While that's better than giving no explanation at all it still doesn't tell the
user what he has to fix.
"Error: Cordova can't find Android SDK in the build PATH" would be more helpful
for the user.
--
This message was sent by Atlassian JIRA
(v6.2#6252)