Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-89099

Android gradle build fails with "Invalid revision: latest"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.12.10, 5.15.1
    • Build System
    • None
    • macOS

    Description

      Builds for Android on macOS fail with:

      FAILURE: Build failed with an exception.

      • Where:
        Build file '/Users/nic/Sources/Qt/linotune/build-linotune-Android_Qt_5_12_10_Clang_armeabi_v7a-Debug/android-build/build.gradle' line: 39
      • What went wrong:
        A problem occurred evaluating root project 'android-build'.
        > Invalid revision: latest
      • Try:
        Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

       

      Replacing "latest" with the actual build tools version for androidBuildToolsVersion in gradle.properties in the build directory resolves the problem.

      "latest" in my AndroidSDK is a symbolic link - perhaps someone in the toolchain can't handle that?

       

      Attachments

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

        Activity

          People

            assam Assam Boudjelthia
            linoleo Lino Schraudolph
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes