Install Oracle JDK :
go to "https://raw.github.com/flexiondotorg/oab-java6/" get oab-java.sh
chmod +x oab-java.sh
sudo ./oab-java.sh
after oab-jave.sh finished.
sudo apt-get install sun-java6-jdk
sudo update-alternatives --config java
choose "java-6-sun"
Install Android build necessary package Ubuntu 12.04 x64:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 uboot-mkimage
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
沒有留言:
張貼留言