Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9397

cordova requirements android on a new Mac machine has issues

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
      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
      

        Attachments

          Activity

            People

            • Assignee:
              vladimir.kotikov Vladimir Kotikov
              Reporter:
              vladimir.kotikov Vladimir Kotikov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: