操作系统:Ubuntu11.04 (64bits)
Java :JDK6错误如下:
make: *** [out/target/product/generic/obj/EXECUTABLES/librank_intermediates/LINKED/librank] 错误 1看不懂什么意思 反正就是没有什么.img文件啊 只有一个userdata.img 
各位帮忙看看咯  谢谢

解决方案 »

  1.   

    源码有没下完整 repo sync 再试下。
      

  2.   

    没用eclipse  我用的终端编译的  我吧项目删了在编 又出现这个错误 帮我看看target Jar: core-tests-support (out/target/common/obj/JAVA_LIBRARIES/core-tests-support_intermediates/javalib.jar)
     'out/target/common/obj/JAVA_LIBRARIES/core-tests-support_intermediates//classes.dex' as 'classes.dex'...
    target Executable: screencap (out/target/product/generic/obj/EXECUTABLES/screencap_intermediates/LINKED/screencap)
    prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/generic/obj/lib/libui.so:1:1: invalid character
    collect2: ld returned 1 exit status
    make: *** [out/target/product/generic/obj/EXECUTABLES/screencap_intermediates/LINKED/screencap] 错误 1
    make: *** 正在等待未完成的任务....
    compiling all .cfh files into .class files
    generating Main_*.java files reading from cts/tools/dx-tests writing to out/host/linux-x86/obj/EXECUTABLES/dx-tests_intermediates/mainfiles
    using java src:cts/tools/dx-tests/src
    Collecting all junit tests...Time: 0.018OK (0 tests)collected 2048 test methods in 216 junit test classes
    warning: no javadoc found for method testVFE7 in dxc.junit.opcodes.areturn,Test_areturn
    compile the Main_*.java files
    dxconverter test suite sucessfully built!
    intermediate Main_*.java files (for stacktrace analysis) can be found under out/host/linux-x86/obj/EXECUTABLES/dx-tests_intermediates/mainfiles
    ivan@ivan-ET1850:~/android2.3$ 
      

  3.   

    我在sync了一次Fetching projects: 100% (185/185), done.  
    Syncing work tree: 100% (185/185), done. 应该是完成了吧
    我在编译一次看看
      

  4.   

    Install: out/target/product/generic/system/lib/libpixelflinger.so
    Install: out/target/product/generic/system/lib/libgui.so
    target Non-prelinked: rild (out/target/product/generic/symbols/system/bin/rild)
    target Prelink: libGLES_android (out/target/product/generic/symbols/system/lib/egl/libGLES_android.so)
    target Executable: dexopt (out/target/product/generic/obj/EXECUTABLES/dexopt_intermediates/LINKED/dexopt)
    libelfcopy: Warning: DW_FORM_data8 is unsupported when sizeof (unsigned long) != 8
    libelfcopy: Warning: DW_FORM_data8 is unsupported when sizeof (unsigned long) != 8
    libelfcopy: Warning: DW_FORM_data8 is unsupported when sizeof (unsigned long) != 8
    libelfcopy: Warning: DW_FORM_data8 is unsupported when sizeof (unsigned long) != 8
    libelfcopy: Warning: DW_FORM_data8 is unsupported when sizeof (unsigned long) != 8
    libelfcopy: Warning: DW_FORM_data8 is unsupported when sizeof (unsigned long) != 8
    libelfcopy: Warning: DW_FORM_data8 is unsupported when sizeof (unsigned long) != 8
    libelfcopy: Warning: DW_FORM_data8 is unsupported when sizeof (unsigned long) != 8
    libelfcopy: Warning: DW_FORM_data8 is unsupported when sizeof (unsigned long) != 8
    libelfcopy: Warning: DW_FORM_data8 is unsupported when sizeof (unsigned long) != 8
    libelfcopy: Warning: DW_FORM_data8 is unsupported when sizeof (unsigned long) != 8
    libelfcopy: Warning: Location lists in .debug_info section aren't in ascending order!
    Install: out/target/product/generic/system/lib/libexif.so
    prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/generic/obj/lib/libnativehelper.so:1:1: invalid character
    collect2: ld returned 1 exit status
    make: *** [out/target/product/generic/obj/EXECUTABLES/dexopt_intermediates/LINKED/dexopt] 错误 1还是有一个错误  怎么就编译不过呢 神啊 救救我吧