Ubuntu14.04编译安卓4.0.1 遇到了问题

你是三十不是八十 2015-11-08 04:00:29
第一次发帖 很忐忑。但是这个问题真的是倒腾了很久,希望能有高手指点!
huangfen@ubuntu:~/working_directory$ make -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.1
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ITL41D
============================================
target Dex: framework
target Strip: libui (out/target/product/generic/obj/lib/libui.so)
target Strip: libGLESv2 (out/target/product/generic/obj/lib/libGLESv2.so)
target Symbolic: libdvm (out/target/product/generic/symbols/system/lib/libdvm.so)
Install: out/target/product/generic/system/lib/libnativehelper.so
error: no command specified
usage:
dx --dex [--debug] [--verbose] [--positions=<style>] [--no-locals]
[--no-optimize] [--statistics] [--[no-]optimize-list=<file>] [--no-strict]
[--keep-classes] [--output=<file>] [--dump-to=<file>] [--dump-width=<n>]
[--dump-method=<name>
  • ]
  • [--verbose-dump] [--no-files] [--core-library]
    [--num-threads=<n>]
    [<file>.class | <file>.{zip,jar,apk} | <directory>] ...
    Convert a set of classfiles into a dex file, optionally embedded in a
    jar/zip. Output name must end with one of: .dex .jar .zip .apk. Positions
    options: none, important, lines.
    dx --annotool --annotation=<class> [--element=<element types>]
    [--print=<print types>]
    dx --dump [--debug] [--strict] [--bytes] [--optimize]
    [--basic-blocks | --rop-blocks | --ssa-blocks | --dot] [--ssa-step=<step>]
    [--width=<n>] [<file>.class | <file>.txt] ...
    Dump classfiles, or transformations thereof, in a human-oriented format.
    dx --junit [-wait] <TestClass>
    Run the indicated unit test.
    dx --find-usages <file.dex> <declaring type> <member>
    Find references and declarations to a field or method.
    declaring type: a class name in internal form, like Ljava/lang/Object;
    member: a field or method name, like hashCode
    dx -J<option> ... <arguments, in one of the above forms>
    Pass VM-specific options to the virtual machine that runs dx.
    dx --version
    Print the version of this tool (1.7).
    dx --help
    Print this message.
    make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes-with-local.dex] 错误 1
    make: *** 正在等待未完成的任务....
    huangfen@ubuntu:~/working_directory$
...全文
345 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
yuewuguang 2015-12-18
  • 打赏
  • 举报
回复
http://zhidao.baidu.com/link?url=iXnBKAELIkH7zJQeuYEXBl3oERtiksg5XDrBj717kT9-XFe9SU4EjBusWhO5FG8kQdfGnyDzDav-DNm0VMj-oq 修改build/core/definitions.mk 中关于core.jar 编译的最小内存,JXmx-。
  • 打赏
  • 举报
回复
好伤心 没有人回答

4,465

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧