Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Creator doesn't accept my Android NDK directory
Qt 6.11 is out! See what's new in the release blog

Qt Creator doesn't accept my Android NDK directory

Scheduled Pinned Locked Moved Installation and Deployment
12 Posts 3 Posters 5.2k Views 1 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    It's not creator that is expecting anything, your Qt version was probably built with 4.8 so it's excepting it.

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tarod.net
      wrote on last edited by
      #3

      I have the same issue.

      I didn't build my Qt. I installed Qt using the wizard.

      When I open my project, configured for Desktop and Android, I get the next message:

      /bin/sh: 1: /home/link/development/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: not found

      In toolchains, I have arm-linux-androideabi-4.9, not 4.8. My NDK is the version r10.

      "Individually, we are one drop. Together, we are an ocean."

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #4

        Did you check whether the compiler is detected in Build and Run/Compilers ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • O Offline
          O Offline
          ondrejandrej
          wrote on last edited by
          #5

          I went to Build & Run / Kits / Android for armeabi-v7a, under Compiler I have "Android GCC (arm-4.9)".

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tarod.net
            wrote on last edited by
            #6

            Qt Creator is looking for version 4.8 instead of version 4.9 even if you change the kit.

            I mean, if you use android for x86, it looks for the version 4.8, not 4.9.

            "Individually, we are one drop. Together, we are an ocean."

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tarod.net
              wrote on last edited by
              #7

              Hello again,

              Finally, I took the easy way out: download and use NDK r9 (http://dl.google.com/android/ndk/android-ndk-r9-linux-x86.tar.bz2)

              Thanks!

              "Individually, we are one drop. Together, we are an ocean."

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #8

                That's a good technique ;)

                However, you should also take a look at the qt-creator mailing list or IRC channel to see if someone already hit this with r10

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tarod.net
                  wrote on last edited by
                  #9

                  Yes, I know I should get more info about this issue.

                  Do you know how to enter in the mailing list?

                  Thanks, SGaist!

                  "Individually, we are one drop. Together, we are an ocean."

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    "Here":http://lists.qt-project.org/mailman/listinfo/qt-creator subscribe then send an email. Don't forget to search the archive to see if there's already a thread about that

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • O Offline
                      O Offline
                      ondrejandrej
                      wrote on last edited by
                      #11

                      tarod.net: where did you find the link to download NDK r9 ?
                      I need to download it too, but I need the one for 64-bit Linux.
                      EDIT: I found it: http://dl.google.com/android/ndk/android-ndk-r9-linux-x86_64.tar.bz2

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tarod.net
                        wrote on last edited by
                        #12

                        Good work, ondrejandrej.

                        Take care!

                        "Individually, we are one drop. Together, we are an ocean."

                        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