Android编译有关问题 build/core/main.mk:131

   阅读
Android编译问题 build/core/main.mk:131
[email protected]:/home/tang/AndroidSources# make
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.1.2.3.4.5.6.7.8.9
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=OPENMASTER
OUT_DIR=out
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
 
Your version is: java version "1.6.0_23".
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. Stop.


这个是什么问题 查资料了一天 无果 
其中一位老兄是这样说的 
build/core/main.mk:131: *** stop. Stop.

[email protected]:~/work/android/$ cd build/
[email protected]:~/work/android/build$ grep "Java SE 1.6" * -R core/main.mk:$(info The correct version is: Java SE 1.6.)
[email protected]:~/work/android/build$ gvim core/main.mk 

试过了 可以依然无果  


------解决方案--------------------
jdk安装的版本不对了
------解决方案--------------------
你jDK版本有问题吧?
阅读