Refer to the link：Building environment for Android
Before all you should make sure that you have more than 23GB space
$mkdir a10-android-ICS && cd a10-android-ICS $wget http://dl.cubieboard.org/software/a10-cubieboard/android/A10-android-4.04.tar.xz $tar -xvJf A10-android-4.04.tar.xz
After get the source code,you could use common to build it as follow:
$cd ../android $source build/envsetup.sh $lunch $11 //note:select apollo_cubieboard-eng $extract-bsp $make -j8
Pack Final image:
The final image is at lichee/lichee/tools/pack/sun4i_crane_cubieboard.img
It is recommended to run this on Ubuntu 12.04 setup. You will need 'make' version 3.81 specifically.