解决方案 »

  1.   


    vanpersie@ubuntu:~/myandroid$ java -version
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
      

  2.   

    同问,谁解决过呀,会share一下~
      

  3.   

    编译源码必须是JDK5 ,6是不支持的。
      

  4.   

    Ubuntu Linux (32-bit x86)
    To set up your Linux development environment, make sure you have the following:    * Required Packages:
              o Git 1.5.4 or newer and the GNU Privacy Guard.          o JDK 5.0, update 12 or higher.Java 6 is not supported, because of incompatibilities with @Override.          o flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential, zip, curl.    $ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev    * You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc.    $ sudo apt-get install valgrind    * Intrepid ( 8.10) users may need a newer version of libreadline:$ sudo apt-get install lib32readline5-dev 
      

  5.   

    为什么我用jdk5还是报这个45错误呢?
      

  6.   

    报错正常,贴出错误一起分析啊,jdk版本占编译成功的1%都不到,呵呵