http://source.android.com/source/download.html If you are running Linux in a virtual machine, you will need at least 1.5GB of RAM and 10GB or more of disk space in order to build the Android tree.JDK 5.0, update 12 or higherBuilding the codeTo build the files, runmakefrom within your working directory: $ cd ~/mydroid $ make If your build fails, complaining about a missing "run-java-tool", try setting the ANDROID_JAVA_HOME env var to $JAVA_HOME before making.E.g.,$ export ANDROID_JAVA_HOME=$JAVA_HOMEPS.修改权限用chmod 777 filename
1,我是用虚拟机编译的 我那个盘有留了25G空间
2,这个代码是同事给的,这个权限怎么设定啊?我不懂哦~第一次接触LINUX
3,恩~这个我查查
If you are running Linux in a virtual machine, you will need at least 1.5GB of RAM and 10GB or more of disk space in order to build the Android tree.JDK 5.0, update 12 or higherBuilding the codeTo build the files, runmakefrom within your working directory:
$ cd ~/mydroid
$ make
If your build fails, complaining about a missing "run-java-tool", try setting the ANDROID_JAVA_HOME env var to $JAVA_HOME before making.E.g.,$ export ANDROID_JAVA_HOME=$JAVA_HOMEPS.修改权限用chmod 777 filename