Android NDK The system cannot find the path specified

浪子不回头ぞ 提交于 2020-01-03 05:06:16

问题


This is a follow up question to this question:

The system cannot find the path specified (ndk_build.cmd)

I got the same problem - I have extracted the NDK folder, set the path in Eclipse menu: Window->Preferences->Android->NDK, but I keep getting the error "The system cannot find the path specified ". Of course the path does exist. I tried using a builder but it gave me the same result for that new builder.

Even if I go to the NDK folder via CMD and try to run it directly, cmd prompts me the same message "The system cannot find the path specified". But it's right there...

What can I do?


回答1:


I have finally figured out the problem.

The message "The system cannot find the path specified" does not refer to ndk_build.cmd file itself. When checking out the content of the file, I discovered it's actually a script which is trying to find a directory inside the NDK folder which was missing. And why was it missing? Since it turned out to be an NDK for 64 bit operating system which I used on a different computer and this was a 32 bit operating system.

After downloading a 32 bit version of NDK and combining with the suggestion in my linked question of defining a builder for the project, it finally worked.



来源:https://stackoverflow.com/questions/38230063/android-ndk-the-system-cannot-find-the-path-specified

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