Ndk-build: CreateProcess: make (e=87): The parameter is incorrect
来源:互联网 发布:mit 算法导论 pdf 编辑:程序博客网 时间:2024/05/16 23:51
转自:http://stackoverflow.com/questions/12598933/ndk-build-createprocess-make-e-87-the-parameter-is-incorrect
Maybe the LOCAL_SHORT_COMMANDS
flag, to be set in your Android.mk, could help you. It is designed to overcome the limitations on the number of characters a Windows command can handle.
According to $(NDK folder)/docs/ANDROID-MK.html:
LOCAL_SHORT_COMMANDS
Set this variable to 'true' when your module has a very high number of sources and/or dependent static or shared libraries. This forces the build system to use an intermediate list file, and use it with the library archiver or static linker with the @$(listfile) syntax.
This can be useful on Windows, where the command-line only accepts a maximum of 8191 characters, which can be too small for complex projects.
This also impacts the compilation of individual source files, placing nearly all compiler flags inside list files too.
Note that any other value than 'true' will revert to the default behaviour. You can also define APP_SHORT_COMMANDS in your Application.mk to force this behaviour for all modules in your project.
NOTE: We do not recommend enabling this feature by default, since it makes the build slower.
Hope this helps!
Special Thanks to @mbrenon !
Remember to set both of LOCAL_SHORT_COMMANDS(Android.mk) & APP_SHORT_COMMANDS(Application.mk) as the following.
LOCAL_SHORT_COMMANDS := trueAPP_SHORT_COMMANDS := true
Hope this helps ! :)
- Ndk-build: CreateProcess: make (e=87): The parameter is incorrect
- CreateProcess error=87, The parameter is incorrect
- Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
- 【JUnit】CreateProcess error=87, The parameter is incorrect错误解决:classpath太长导致程序无法启动
- Cannot copy file. The Parameter Is Incorrect
- 使用Vs2005打开clearcase版本控制中的文件出现问题“The Parameter is incorrect...”
- NDK for make (e=2) error for seetaface
- NDK编译时出现Android make (e=2)
- What is the NDK?
- Incorrect parameter count in the call to native function 'ISNULL'
- vc 出现“fatal error C1085: Cannot write precompiled header file: 'Debug/xxx.pch': The parameter is incorrect“的错误的解决办法
- The syntax of the string representation of a datetime value is incorrect. SQLSTATE=22007
- Android NDK 编译时出现make (e=2): 系统找不到指定的文件错误
- Android NDK 编译时出现make (e=2): 系统找不到指定的文
- CreateProcess error=206, The filename or extension is too long"的一个解决方案
- NDK是什么?(What is the NDK?)
- NDK编译问题: Program "ndk-build" is not found in PATH 和 Unable to launch cygpath. Is Cygwin on the path?
- NDK编译问题: Program "ndk-build" is not found in PATH 和 Unable to launch cygpath. Is Cygwin on the path?
- AudioManager获得焦点音频的问题
- linux查找命令大全
- Android 底部Tab向右偏移兼容问题解决
- 抛物线运动
- android中系统时间日期的获取
- Ndk-build: CreateProcess: make (e=87): The parameter is incorrect
- 2个鸡蛋从100层摔(N个鸡蛋从M楼层摔)
- iOS 环信与直播冲突
- ijkplayer 0.6.0 enable resolution change 代码研究
- POJ 2386 Lake Counting
- Android shell 命令设置(获取)IP地址、网关、dns
- 如何正确的使用Handler,带你从源码上认识!
- Android 集成支付宝SDK
- poj1125Stockbroker Grapevine(最短路floyd )