android 5.0 下载编译

CM的CM-12.0版本(对应Android5.0.2):

$ repo init -u https://github.com/CyanogenMod/android.git -b cm-12.0

注意:Android5.0 以后的代码,都需要使用OpenJDK来编译。如果出现因为JDK版本造成的编译错误,请安装OpenJDK。

$ sudo apt-get install openjdk-7-jdk

 

 

Ubuntu java 环境变量

 

启动eclipse是报 no java virtual machine was found after searching the following location

 

Eclipse 启动时报错:A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No java virtual machine was found after searching the following locations:…

 

posted @ 2015-08-12 10:55  马走日  阅读(249)  评论(0编辑  收藏  举报