arm-linux-androideabi-g ++。exe:CreateProcess:没有这样的文件或目录错误 [英] arm-linux-androideabi-g++.exe: CreateProcess: No such file or directory error

查看:772
本文介绍了arm-linux-androideabi-g ++。exe:CreateProcess:没有这样的文件或目录错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是添加了一些新的语句到我的'android.mk'项目文件来编译新的源代码文件,我在编译所有的* .cpp文件后出现错误:

I just added a few new statements to my 'android.mk' project file to compile new source code files and I'm having the error after compiling all the *.cpp files:

arm-linux-androideabi-g++.exe: CreateProcess: No such file or directory
make: *** [/cygdrive/...] Error 1

任何人都有类似的错误吗?我不知道为什么会发生这种情况,我没有修改路径,只是添加了源代码文件。

Do anyone else has had a similar error ? I can't figure out why this happens, I didn't modified paths, just added source code files.

提前感谢。

推荐答案

可能是cygwin的命令行太长了(见这里: OpenSSL + Android:Build问题

It could be that the command line is too long for cygwin (see here: OpenSSL + Android: Build problem)

尝试将所有内容移动到具有较短路径的某处。我只是有一个错误后添加几个文件到android.mk文件,并暂时将Android项目移动到像/ cygdrive / c / projects允许它建立。我刚在那里建了它,然后把一切回来后。

Try moving everything to somewhere with a shorter path. I just had the error after adding a couple of files to the android.mk file, and temporarily moving the android project to somewhere like /cygdrive/c/projects allowed it to build. I just built it there then moved everything back afterwards.

这篇关于arm-linux-androideabi-g ++。exe:CreateProcess:没有这样的文件或目录错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆