Qt - Android NDK: No such file or directory

半世苍凉 提交于 2019-12-24 06:26:35

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!