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

More versatile CLI scripts to handle changes in Android SDK Tools 25.3.1

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2.0
    • Component/s: cordova-android
    • Labels:
      None

      Description

      In the latest Android SDK Tools (v25.3.1), the android command no longer operates as expected and instead exits with a non-zero status code and provides a message telling folks to use the sdkmanager and avdmanager commands.

      Almost all of the various CLI scripts in cordova-android rely, in one capacity or another, on the android command and its output.

      Let's use this issue to track support for both old SDK Tools and new ones.

      E.g. CB-12546 tracked the failing emulator command. The pull request issued for that issue could be one template on how to handle these SDK Tools-related issues: try to use the old android command, detect if it fails, and if it does, use the newer sdkmanager and avdmanager commands to fill the functionality gap.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                filmaj Filip Maj
                Reporter:
                filmaj Filip Maj
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: