java - Building Froyo fails - make: *** [.../classes.dex] Killed -
I make Google's Android v2.2 (froy) from source on Asans A3A laptops (512 MB RAM) I am trying to get the Ubuntu running Netbook 10.04
I have followed the instructions given above and used it using Java on version 5:
sudo update-java-alternatives -s java-1.5 .0-sun Java-version gives me: 1.5.0_018
Thus the prebilled check of Android is allowed to work. I export the Java home directory and set it to Android Java Home To set up your ~ / .bashrc also. I also have:
Repo Init-U GIT: //android.git.kernel.org/platform/manifest.git -b Fryo Repo Sync
< P> Then just me: create
It goes for a minute then I had a long time:
< Pre> target dex: core
then:
create: *** [out / target / common / obj / java_LIBRARIES / core_intermediates / Classes.dex] << Code>
And I'm back to a signal I suspect that this is a memory issue because it's the example of any browser The crash, which I opened at the same time. Do you know any solution / solution or at least one good way to start debugging?
Cheers, stew
If the system is killing a browser window, then probably You are out of memory / var / log / messages or "dmesg" may have some information in the output.
512 MB RAM is not enough for "dx" to process the core.jar (or its older brother framework.) You may have to add additional swap space. To see what kind of swap is configured, check "Swapon-S" You can use mkswap and swapon to create a swap area and start using it. You will need a gigabyte or two (if you look in construction / core / definitions, you can see that the DX is being passed - JMMX 1536m, that means Java VM is given 1.5 GB heap.)
Adding a swap should meet you through the build, in the end. If you are constantly swapping, then it will be very slow, it would be better if you add more physical RAM to the laptop.
Comments
Post a Comment