Difference between revisions of "OS: Android - Download"

From OnnoWiki
Jump to navigation Jump to search
Line 13: Line 13:
 
* Git 1.7 or newer. You can find it at git-scm.com.
 
* Git 1.7 or newer. You can find it at git-scm.com.
  
Instalasi Aplikasi Pendukung
+
===Instalasi sun6 JDK===
  
  sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
+
  sudo add-apt-repository ppa:webupd8team/java
 
  sudo apt-get update
 
  sudo apt-get update
  sudo apt-get install sun-java6-jdk
+
  sudo apt-get install oracle-java7-installer
  
  
 +
===Instalasi Aplikasi Pendukung===
 +
 +
 +
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
  
  

Revision as of 06:14, 9 August 2013

Persiapan

Sumber: http://source.android.com/source/initializing.html

Before you download and build the Android source, ensure your system meets the following requirements:

  • A Linux or Mac system. It is also possible to build Android in a virtual machine on unsupported systems such as Windows. If you are running Linux in a virtual machine, you need at least 16GB of RAM/swap and 30GB or more of disk space in order to build the Android tree.
  • A 64-bit environment is required for Gingerbread (2.3.x) and newer versions, including the master branch. You can compile older versions on 32-bit systems.
  • 30GB of free disk space to complete a single build and up to 100GB or more for a full set of builds. The source download is approximately 8.5GB in size.
  • Python 2.6 -- 2.7, which you can download from python.org.
  • GNU Make 3.81 -- 3.82, which you can download from gnu.org,
  • JDK 6 if you wish to build Gingerbread or newer; JDK 5 for Froyo or older. You can download both from java.sun.com.
  • Git 1.7 or newer. You can find it at git-scm.com.

Instalasi sun6 JDK

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer


Instalasi Aplikasi Pendukung

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


Download

Sumber: http://source.android.com/source/downloading.html

$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ sudo apt-get install curl
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir android-source
$ cd android-source
$ repo init -u https://android.googlesource.com/platform/manifest




Referensi

Pranala Menarik