sudo apt-get install openjdk-6-jdk
update-alternatives --config java
update-alternatives --config javac
Python 2.7.4 (default, Jul 5 2013, 08:21:57)
git version 1.8.1.2
GNU Make 3.81
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.13.04.2)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk
sun-javaは無いので、oracleから jre-6u45-linux-x64.binをダウンロードして、
shellで展開。
update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-6-oracle/bin/java 16043
update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-6-oracle/bin/javac 16043
update-alternatives --config java
update-alternatives --config javac
$ sudo apt-get install git 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 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
vi /etc/udev/rules.d/51-android.rules
$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ repo init -u https://android.googlesource.com/platform/manifest ※特定Verの場合 -b android-4.0.1_r1
$ repo sync
$ . ./build/envsetup.sh
$ lunch full-eng
$ make -j4
0 件のコメント:
コメントを投稿