Hi,
I am attempting to build Google's Android v2.2 (Froyo) from source on an Asus A3E laptop (512MB ram) running Ubuntu Netbook 10.04.
I have followed the instructions on http://source.android.com/source/download.html and set java to version 5 with using:
sudo update-java-alternatives -s java-1.5.0-sun
java -version gives me: 1.5.0_018
Thus allowing Android's prebuild check to work. I have also set my ~/.bashrc to export the java home directory and set it to the android java home. I have also:
repo init -u git://android.git.kernel.org/platform/manifest.git -b froyo
repo sync
Then I just simply:
make
This goes for about a minute then I get a long pause at:
target Dex: core
Then:
make: *** [out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.dex] Killed
and I'm back to a prompt. I suspect that it's a memory issue as it crashes any browser instances that I have open at the same time. Does anyone know a solution/workaround or at least a good path to start debugging.
Cheers, Stu