and the answer of http://askubuntu.com/questions/256487/initialising-the-build-environment-for-android-on-64-bit-12-04
to setup the enviroment on my thinkpad T430...
After I've complete the environment setting up,
and build the image, it's all wonderful result...
till I've shut down my notebook, or reboot my notebook...
It will display "Could not write byte: broken pipe" with a blank screen...
It's almost make me crazy cause I've reinstall my notebook 10 times at least,
to find out which package fail, what package I've install...
lot of discussed point out that lightdm should be killer, But I can't fix it while I've follow the instruction.
finally, I doubt that why the android tool chain need glx and x11 package?
so I've reinstall again(yes...again)
and leave some package to not install that I've delete as below,
and try it...
Great, At least I can build the image same as before,
Till now, I've not appear the god damn broken pipe issue again!
sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev
libncurses5-dev:i386 x11proto-core-dev\ libx11-dev:i386libreadline6-dev:i386 libgl1-mesa-glx-lts-quantal:i386\ libgl1-mesa-devg++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386
PS: I found that package will cause error when make menuconfig, due to missing the package libncurses5-dev
but libncurses5-dev is conflict with libncurses5-dev:i386
solution is install the package as below,
- Download binary from oracle website or other mirror and install it.
- download jdk-6u*-linux-x64.bin
- chmod a+x jdk-6u*-linux-x64.bin
- export PATH=~/jdk1.6.0_*/bin:$PATH
- Add PPA source
I'm still try to figure out how to install office on my ubuntu 12.04~