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

AndroidSdkProbe does not detect an SDK on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.10.1
    • Component/s: Configuration Probes
    • Labels:
      None
    • Environment:
      * Host: Windows 10 64bit
       * NDK r16b
       * SDK 25.xx
    • Commits:
      daba827d0c1e9f69bc62260b24aa1691bdb9ff52

      Description

      This code from 'AndroidSdkProbe.qbs':

       

      ...
       if (File.exists(FileInfo.joinPaths(allPaths[i], "tools", "android")))
      ...
      

      skipped the 'tools/android.bat' file, because on Windows's SDK this file has a '.bat' suffix.

       

      Result should be something like:

       

                  var file = "android";
                  if (qbs.hostOS.contains("windows"))
                      file += ".bat";
                  if (File.exists(FileInfo.joinPaths(allPaths[i], "tools", file))) {
      

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            Reporter:
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes