Qt Creator doesn't accept my Android NDK directory
-
Hi,
I downloaded the latest Android NDK and unpacked it to /home/andrej/Public/android-ndk-r10. But when I entered this path to Options/Android, I get a red exclamation sign claiming that it's not an Android NDK directory. I click OK anyway and get this in General Ouput:
/bin/sh: 1: /home/andrej/Public/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: not foundThe subdirectory arm-linux-androideabi-4.8 is really not there, but there is arm-linux-androideabi-4.9. Why is Qt Creator expecting arm-linux-androideabi-4.8?
-
Hi,
It's not creator that is expecting anything, your Qt version was probably built with 4.8 so it's excepting it.
-
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.
-
Did you check whether the compiler is detected in Build and Run/Compilers ?
-
I went to Build & Run / Kits / Android for armeabi-v7a, under Compiler I have "Android GCC (arm-4.9)".
-
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.
-
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!
-
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
-
Yes, I know I should get more info about this issue.
Do you know how to enter in the mailing list?
Thanks, SGaist!
-
"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
-
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 -
Good work, ondrejandrej.
Take care!