您的位置:首页 > 产品设计 > UI/UE

You are attempting to build with the incorrect version of java

2013-12-04 11:42 627 查看
Ubuntu 12.04 build android source code

The error:

Checking build tools versions...

************************************************************

You are attempting to build with the incorrect version

of java.

Your version is: java version "1.6.0_45".

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:145: *** stop. Stop.

solve:

Commenting out the $(error stop) statement from build/core/main.mk on line 131 will allow compilation
to proceed:

# $(error stop)

endif

end: make -j4

Recommended
Reference:

http://blog.markloiseau.com/2012/07/how-to-compile-android-on-ubuntu-12-04/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐