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. Qt 5.1 for Android error with ndk
Forum Updated to NodeBB v4.3 + New Features

Qt 5.1 for Android error with ndk

Scheduled Pinned Locked Moved Mobile and Embedded
11 Posts 5 Posters 6.6k 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.
  • M Offline
    M Offline
    Muhammad
    wrote on last edited by
    #1

    Hello

    I'v downloaded Qt for Android windows 8 32 bit, The Android SDK, The Android NDK, apache-ant-1.9.2 and jdk-7u25. (everything 32 bit).
    Extracted and installed and set the JAVA_HOME environment variable to the JDK install directory path.

    QtCreator seems to recognize everything, everything is good with desktop, but when I try to build for Android I get this error :
    (error: error: Android\android-ndk-r8e/platforms/android-14/arch-arm/: No such file or directory).

    I had deleted the android-ndk-r8e and extracted it again, and got the same error.

    Any help please.

    I don't have endpoint, I just have Checkpoints.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Moster
      wrote on last edited by
      #2

      Show your android configurations in the Options.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jdarnold
        wrote on last edited by
        #3

        Doesn't look like the path is right. Make it an absolute path.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Muhammad
          wrote on last edited by
          #4

          Here is a photo for the Android configuration in the option
          http://imageshack.us/photo/my-images/837/xfsy.jpg/

          And here is a photo for the project configuration
          http://imageshack.us/photo/my-images/839/du8q.jpg/

          I don't have endpoint, I just have Checkpoints.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Moster
            wrote on last edited by
            #5

            Have you actually checked if there is a folder called arch-arm in platform-14? :D

            Anyways, maybe its related to windows 8. Do you have a chance to test it on some other windows or linux?

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Muhammad
              wrote on last edited by
              #6

              Yes the arch-arm folder exists in the right place.
              I don't thing its a windows problem, but who knows?, may be its.

              I don't have endpoint, I just have Checkpoints.

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kingsta
                wrote on last edited by
                #7

                I have same problem on Windows 7

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  steno
                  wrote on last edited by
                  #8

                  Have you confirmed the kits have been detected by creator? Those would be located in the build & run option. I have everything working in a windows 8 environment.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    Muhammad
                    wrote on last edited by
                    #9

                    Yes I guess so.
                    Here is a pic for my build and run option

                    !http://img822.imageshack.us/img822/49/tavl.jpg(There should be an Image here )!

                    I don't have endpoint, I just have Checkpoints.

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      Moster
                      wrote on last edited by
                      #10

                      Hmm, what I have noticed in one of your screenshots is that you have "Qt for android" as a folder name. I remember that I read somewhere else there might be issues with space in folder names. Maybe its stupid, but worth a try to remove the spaces.
                      I guess that's why the error message also says error: Android\android-ndk-r8e/platforms/android-14/arch-arm/: No such file or directory and not error: Qt for Android\android-ndk-r8e/platforms/android-14/arch-arm/: No such file or directory

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        Muhammad
                        wrote on last edited by
                        #11

                        @ Moster !, I love you man :)
                        It was all about the spaces ( Problem solved )
                        Thanks Thanks Thanks

                        I don't have endpoint, I just have Checkpoints.

                        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