`
yidongkaifa
  • 浏览: 4038510 次
文章分类
社区版块
存档分类
最新评论

Argument list too long的解决方法

 
阅读更多

原因:文件太多了,导致传递给linux(或者说是cygwin)的参数太长了。

解决方法:

1、最土的方法,把工程拷贝到硬盘分区根目录,“有可能”可以解决问题。

2、大工程子模块化拆分。

a、引入子模块

$(call import-add-path,$(LOCAL_PATH))
$(call import-module,platform/third_party/android/prebuilt/libjpeg)
$(call import-module,platform/third_party/android/prebuilt/libpng)
$(call import-module,platform/third_party/android/prebuilt/libxml2)
$(call import-module,platform/third_party/android/prebuilt/libtiff)
如上所示, 最开始使用 import-add-path引入子模块查找路径,后面直接引入需要链接的库的路径

分享到:
评论

相关推荐

    Laravel 5.4中migrate报错: Specified key was too long error的解决

    但方便的同时也会伴随着一些问题,下面这篇文章将详细给大家介绍关于Laravel5.4中migrate报错Specified key was too long error的解决方法,下面话不多说了,来一起看看详细的介绍吧。 发现问题 Laravel 5.4默认使用...

    Linux操作系统错误代码解释_中英文对照

    OS error code 0: ...OS error code 7: Argument list too long 操作系统错误代码7:参数列表太长 OS error code 8: Exec format error 操作系统错误代码8:执行格式错误 OS error code 9: Bad file descriptor 操

    Linux删除文件不同方法效率对比

    测试一下Linux下面删除大量文件的效率。 首先建立50万个文件 ...zsh: argument list too long: rm rm -f * 3.63s user 0.29s system 98% cpu 3.985 total 由于文件数量过多,rm不起作用。 2. fin

    linux删除大量文件的6种方法

    首先建立50万个文件 代码如下:test for i in $(seq 1 500000)for> ... yzsh: argument list too long: rmrm -f * 3.63s user 0.29s system 98% cpu 3.985 total 由于文件数量过多,rm不起作用。 2 find 代码如下: 

    C++出错提示英汉对照表

    Argument list syntax error ----------------参数表语法错误 Array bounds missing ------------------丢失数组界限符 Array size toolarge -----------------数组尺寸太大 Bad character in paramenters ------...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    (One exception is if an argument Foo or const Foo& has a non-explicit, one-argument constructor, in which case we need the full definition to support automatic type conversion.) We can declare ...

    雷达技术知识

    LIST OF FIGURES Figure Page 1. Return Factor vs. LiDAR Scan Angle 2 2. Angle of Incidence 3 3. Wave Action Relationship to LiDAR Echo 3 4. Site Map 11 5. Annual Hydrograph of Sandy River 13 6. Oregon ...

    servlet2.4doc

    The default behavior of this method is to call addDateHeader(String name, long date) on the wrapped response object. addDateHeader(String, long) - Method in interface javax.servlet....

    Java邮件开发Fundamentals of the JavaMail API

    downloading and unbundling pop31_1_1.zip, add pop3.jar to your CLASSPATH, too. After installing JavaMail 1.1.3, install the JavaBeans Activation Framework. Installing the JavaBeans Activation ...

    unix power tools

    Table of Contents 1. Introduction....................................................................................................................................................2 ...

    EurekaLog_7.5.0.0_Enterprise

    1)....Fixed: Long startup time on terminal services servers EurekaLog 7.3 (7.3.0.0), 24-September-2015 1)....Added: RAD Studio 10 Seattle support 2)....Added: Performance counters for run-time ...

    php.ini-development

    ;;;;;;;;... 1.... 2.... 3.... 4.... 5.... 6.... The syntax of the file is extremely simple.... Section headers (e.g.... at runtime.... There is no name validation.... (e.g.... previously set variable or directive (e.g....

    微软内部资料-SQL性能优化5

    The data pages in the table are kept in a doubly linked list called the page chain. The order of pages in the page chain, and the order of rows on the data pages, is the order of the index key or ...

Global site tag (gtag.js) - Google Analytics