问题
I have been struggling with the following problem for several days. I have a project that is working great on desktop and a custom embedded device, but when I attempt to compile for Android I get the following error:
/usr/bin/sh: C:android-ndk-r10e-windows-x86_64android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++: No such file or directory
The NDK does exist at that location. I have tried moving the NDK to different locations, and several versions of the NDK with the same results.
Of note is the fact that the location it seems to be referencing above, C:android-ndk-r10e-windows-x86_64android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++, is incorrect. It should begin as C:\android-ndk-r10e-windows-x86_64, as it is listed under Tools-> Options-> Devices -> Android. I'm not sure why it is outputting like this, but I can't imagine it outputs differently than it is used.
Any help would be appreciated!
来源:https://stackoverflow.com/questions/44574825/qt-android-ndk-no-such-file-or-directory