OS: Android - Mempersiapkan Development Environment

From OnnoWiki
Jump to navigation Jump to search

Download SDK dll

Dari

http://developer.android.com/sdk/index.html

Seperti

http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20130729.zip
http://dl.google.com/android/adt/adt-bundle-linux-x86-20130729.zip
http://dl.google.com/android/android-sdk_r22.0.5-linux.tgz
http://dl.google.com/android/studio/android-studio-bundle-130.737825-linux.tgz


Instalasi SDK

# PATH=$PATH:/your/specific/path/to/android/sdk/platform-tools/


Instalasi Aplikasi Pendukung

Remove

sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*

Siapkan SDK

sudo add-apt-repository ppa:webupd8team/java


Instalasi

apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev \
libwxgtk2.8-dev squashfs-tools build-essential zip curl libncurses5-dev \
zlib1g-dev openjdk-6-jre openjdk-6-jdk pngcrush schedtool libxml2 \
libxml2-utils xsltproc \
g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline-gplv2-dev gcc-multilib

Sebagai user biasa. Buat directory

mkdir -p ~/bin
mkdir -p ~/android/system

Sebagai user biasa. Instalasi perintah repo

curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
export PATH=${PATH}:~/bin

Referensi

Pranala Menarik