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

Add clearer error message for info command when Android SDK is setup incorrectly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Master
    • Master
    • cordova-lib
    • Android

    Description

      Issuing a 'cordova info' command without having the Android SDK setup correctly prints an unhelpful error message.

      Error retrieving Android platform information: Error: cmd: Command failed with exit code 1 Error output: 'android' is not recognized as an internal or external command, operable program or batch file.

      Should add a message to make sure Android SDK tools and platform-tools directories are added to the PATH variable.

      Attachments

        Activity

          People

            ktop500 Karen Tran
            ktop500 Karen Tran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: