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

cordova requirements android on a new Mac machine has issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.0
    • None
    • cordova-android
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: