简体   繁体   中英

Back slashes in Android NDK path keeps QT application from deploying

I'm able to compile my application in Windows but when I try to debug on my tablet I get this error.

/usr/bin/sh: line 1: C:androidndk/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib: No such file or directory

I figured the problem is that under Tools->Options->Android the path to my android NDK is listed as C:\\android\\ndk so I tried replacing the back slashes with forward slashes. But when I do this the error is still there and when I open my Android options the back slashes are back.

I never got to the root of the problem but I created a new project and that worked just fine. Since the path to the ndk looked messed up I thought there was a problem with my QtCreator setup but simply starting a new project fixed this issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM