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

AndroidSdkProbe does not detect an SDK on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.10.1
    • 1.10.0
    • Configuration Probes
    • None
    • * Host: Windows 10 64bit
       * NDK r16b
       * SDK 25.xx
    • 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

            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            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