Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
 
Your version is: java version "1.6.0_20".
The correct version is: Java SE 1.6.
 
Please follow the machine setup instructions at
    http://source.android.com/source/download.html
************************************************************
build/core/main.mk:131: *** stop。 停止。
我想下个Java SE 1.6.的版本啊?

解决方案 »

  1.   

    java.sun.com 之后在菜单上找,或者在右边广告列表里面找,有 JDK 7 下载,进去之后下面也有 JDK 6 列在那儿。
      

  2.   

    我找到了谢谢但是现在又有新问题了,我mk -j4编译时总是失败,我就想把直接下的删了重新下于是我就重新敲了命令但是
    ssl@ssl-laptop:~$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 20183  100 20183    0     0  41180      0 --:--:-- --:--:-- --:--:-- 63071
    ssl@ssl-laptop:~$ cd WORKING_DIRECTORY
    ssl@ssl-laptop:~/WORKING_DIRECTORY$ repo init -u https://android.googlesource.com/a/platform/manifestYour identity is: china_ssl <[email protected]>
    If you want to change this, please re-run 'repo init' with --config-namerepo initialized in /home/ssl
    ssl@ssl-laptop:~/WORKING_DIRECTORY$ 
    怎么每次都是在repo initialized in /home/ssl这个目录下啊,而不是是在/home/ssl/WORKING_DIRECTORY这个下面啊这个要怎么做啊,谁教教我啊,我可以加分的200分