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$
...全文
305 点赞 收藏 2
写回复
2 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
yuewuguang 2015-12-18
http://zhidao.baidu.com/link?url=iXnBKAELIkH7zJQeuYEXBl3oERtiksg5XDrBj717kT9-XFe9SU4EjBusWhO5FG8kQdfGnyDzDav-DNm0VMj-oq 修改build/core/definitions.mk 中关于core.jar 编译的最小内存,JXmx-。
回复
咸因心上 2015-11-14
好伤心 没有人回答
回复
相关推荐
发帖
Linux_Kernel
创建于2007-08-27

4152

社区成员

Linux/Unix社区 内核源代码研究区
申请成为版主
帖子事件
创建了帖子
2015-11-08 04:00
社区公告
暂无公告