Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1700

qbs can't detect Android build tools installed via cmdline-tools, not via SDK tools

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 1.22.1
    • Fix Version/s: None
    • Component/s: Platforms: Android
    • Labels:
      None
    • Environment:
      cmdline-tools;latest
    • Platform/s:
      Android
    • Commits:
      b20256ccef (qbs/qbs/master) b20256ccef (qbs/qbs/1.23) b20256ccef (qbs/qbs/1.24)

      Description

      The modern way to install android packages is to use cmdline-tools. The old way was to use SDK tools, but now it is deprecated (see https://developer.android.com/studio/releases/sdk-tools).

      There is a code in AndroidSdkProbe which looks for android executable in SDK tools folder to prove, that the folder does contain Android SDK. But if you use cmdline-tools, there is no folder "tools" anymore. The probe fails to find build tools.

        Attachments

        For Gerrit Dashboard: QBS-1700
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            r.cotty Raphael Cotty
            Reporter:
            mabean Max Bespalov
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews