Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Solved Mobile and Embedded
24 Posts 6 Posters 21.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Sudhir Khanger

    @mrjj said in Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.:

    @Sudhir-Khanger
    Hi
    This is with Qt5.15.0. correct ?

    Yes, the latest version of NDK doesn't work with the latest stable version of Qt.

    alt text
    alt text

    mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by
    #21

    @Sudhir-Khanger
    Hi
    Ok thank you. did you try the Obsolete thing from ticket ?
    https://bugreports.qt.io/browse/QTCREATORBUG-23794

    Turn off "Hide obsolete Packages".
    Install "Android SDK Tools (Obsolete)".

    S 1 Reply Last reply
    0
    • mrjjM mrjj

      @Sudhir-Khanger
      Hi
      Ok thank you. did you try the Obsolete thing from ticket ?
      https://bugreports.qt.io/browse/QTCREATORBUG-23794

      Turn off "Hide obsolete Packages".
      Install "Android SDK Tools (Obsolete)".

      S Offline
      S Offline
      Sudhir Khanger
      wrote on last edited by
      #22

      @mrjj

      Those obsolete packages have been removed from Android SDK Manager and I can't seem to find them.

      alt text

      mrjjM 1 Reply Last reply
      0
      • S Sudhir Khanger

        @mrjj

        Those obsolete packages have been removed from Android SDK Manager and I can't seem to find them.

        alt text

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #23

        @Sudhir-Khanger
        So the "Hide obsolete Packages" is also removed ?
        I did this like 3 weeks ago and it still had it there.

        S 1 Reply Last reply
        0
        • mrjjM mrjj

          @Sudhir-Khanger
          So the "Hide obsolete Packages" is also removed ?
          I did this like 3 weeks ago and it still had it there.

          S Offline
          S Offline
          Sudhir Khanger
          wrote on last edited by
          #24

          @mrjj Likely Google removed them. If you delete that package from the SDK Manager and also delete its folder from the disk it might also be not available for you.

          The issue would go away if I install an older version of the NDK which makes me think it would be related to NDK version not being supported than SDK Tools.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved