Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25406

Creator complains ANDROID_NDK_ROOT isn't set, but it is.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 4.14.1, Qt Creator 6.0.2
    • Android Support
    • Mac OS 11.2.1
    • macOS

      I launched Qt Creator with no project open, and it's raising two issues:

      error: Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.

      error: Could not read qmake configuration file /Users/gavin/Qt/5.15.2/android/mkspecs/android-clang/qmake.conf.

       

      But ANDROID_NDK_ROOT is set up in zshenv, and works at the command line:

      % echo $ANDROID_NDK_ROOT

      /Users/gavin/Library/Android/sdk/ndk/21.1.6352462

      I've also tried exporting a path that ends at ndk/ (without the specific version subdirectory). No dice either. And that qmake.conf file exists at the above-cited path.

       

      I also verified that Qt Creator has full disk access permission. Don't know what else to check.

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

            portale Alessandro Portale
            stoked Gavin Stokes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes