Difference between revisions of "Android: Download Repo Source Code Android"

From OnnoWiki
Jump to navigation Jump to search
(New page: Buat path mkdir ~/bin PATH=~/bin:$PATH Download Repo script dan pastikan executable: curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo chmod a+x ~/bin/repo ...)
 
Line 1: Line 1:
 +
Install aplikasi pendukung
 +
 +
sudo apt-get install curl
 +
 
Buat path
 
Buat path
  

Revision as of 05:48, 24 July 2012

Install aplikasi pendukung

sudo apt-get install curl

Buat path

mkdir ~/bin
PATH=~/bin:$PATH

Download Repo script dan pastikan executable:

curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo

Buat directory android-source

mkdir android-source
cd android-source

Kalau perlu mount external USB harddisk tempat source-nya

mount /dev/sdX1 android-source

Lakukan manifest

cd android-source
repo init -u https://android.googlesource.com/platform/manifest