Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.1.0
-
None
-
None
Description
cordova requirements android on a Mac with no Android SDK, below is what I get. I see 3 problems:
- For some reason all the errors are in square brackets - should we fix that?
- Also, why do we have a 'Error' prefix, are there other options here other than Error
- There is a TyperError which looks like a bug.
Requirements check results for android: Java JDK: not installed [Error: Failed to find 'JAVA_HOME' environment variable. Try setting setting it manually.] Android SDK: not installed [Error: Failed to find 'ANDROID_HOME' environment variable. Try setting setting it manually. Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.] Android target: not installed [Error: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.] Gradle: not installed [TypeError: Arguments to path.join must be strings] Some of requirements check failed