Uploaded image for project: 'Qt Tools for Android'
  1. Qt Tools for Android
  2. QTTA-372

When javac is missing, not found or invalid QtGP gives unclear error

XMLWordPrintable

    • Android, Linux/Other display system

      Why?

      cause

      • The current error output is unclear and does not help user to fix the problem

      What?

      Actual

      FAILURE: Build failed with an exception.

      • What went wrong:
        Execution failed for task ':app:QtBuildTask'.
        > the command '/home/ramipotinkara/Qt/Tools/Ninja/ninja' returned error code 1.
          > Command arguments: [-C, /home/ramipotinkara/Qt/Examples/Qt-6.9.0/platforms/android/models/qtabstractitemmodel_java/app/build/qt_generated/qtabstractitemmodel, aar]

      Proposed

      FAILURE: Build failed with an exception

      • What went wrong
      • Execution failed due to missing JAVA_HOME variable, please define and try again

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

            nikunj Nikunj Arora
            rampe Rami Potinkara
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes