29/12/10

Install Android SDK (ADB) di Linux


Setting ADB @ Linux

Download Android SDK
Extract android-sdk_r08-linux_86.tgz
/home/mboisker/android-sdk-linux_86 (misal saya copy ke directory tsb)

Install Java
$sudo apt-get install openjdk-6-jre-headless

$sudo gedit ~/.bashrc
Tambahkan :
#AndroidDev PATH
PATH=$PATH:/home/mboisker/android/android-sdk-linux_86/tools
export PATH
PATH=$PATH:/home/mboisker/android/android-sdk-linux_86/platform-tools
export PATH

Restart ADB
$sudo /etc/init.d/udev restart

Buka android
$android
Jika tidak terbuka :
$PATH=$PATH:/home/mboisker/android/android-sdk-linux_86/tools
Setelah Android SDK and AVD Manager terbuka, pilih Installed Packages dan install Android SDK Platform-tools untuk menambahkan tools adb dan lain-lain.
Setelah selesai bisa dicek di /home/mboisker/android/android-sdk-linux_86/platform-tools apakah sudah ada file adb, ddms, dll

$sudo vi /etc/udev/rules.d/51-android.rules (tabel)
#Acer
SUBSYSTEM=="usb", SYSFS{idVendor}=="0502", MODE="0666"
#Dell
SUBSYSTEM=="usb", SYSFS{idVendor}=="413c", MODE="0666"
#Foxconn
SUBSYSTEM=="usb", SYSFS{idVendor}=="0489", MODE="0666"
#Garmin-Asus
SUBSYSTEM=="usb", SYSFS{idVendor}=="091E", MODE="0666"
#HTC
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
#Huawei
SUBSYSTEM=="usb", SYSFS{idVendor}=="12d1", MODE="0666"
#Kyocera
SUBSYSTEM=="usb", SYSFS{idVendor}=="0482", MODE="0666"
#LG
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
#Motorola
SUBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666"
#Nvidia
SUBSYSTEM=="usb", SYSFS{idVendor}=="0955", MODE="0666"
#Pantech
SUBSYSTEM=="usb", SYSFS{idVendor}=="10A9", MODE="0666"
#Samsung
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
#Sharp
SUBSYSTEM=="usb", SYSFS{idVendor}=="04dd", MODE="0666"
#Sony Ericsson
SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", MODE="0666"
#ZTE
SUBSYSTEM=="usb", SYSFS{idVendor}=="19D2", MODE="0666"



Setting Fastboot @ Linux


Download fastboot

Copy fastboot ke /home/mboisker/android/android-sdk-linux_86/tools

Klik kanan, properties. Pilih permission, centang : Allow executing file as program

Close

Tidak ada komentar:

Review Pembeli Pertama DFSK Glory 560 di Jawa Timur

Sebenarnya DFSK bukanlah merk baru di industri Tiongkok, tetapi DFSK adalah sebuah hasil kerja bareng antara Dongfeng Motor dan  Chongqin...