Using Hardware Devices (android developing – eclipse) on fedora 64bit

Install paket pendukung :
# yum install glibc zlib libstdc++ ncurses-libs mesa-libGL-devel adb

Cek idVendor Devices:
# lsusb
hasilnya(contoh) -> Bus 001 Device 005: ID 04e8:689e Samsung Electronics Co., Ltd GT-S5670 [Galaxy Fit]
idVendor = 04e8

Bikin rules baru :
# vi /etc/udev/rules.d/51-android.rules
isinya -> SUBSYSTEM==”usb”,SYSFS{idVendor}==”04e8″,SYMLINK+=”android_adb”,MODE=”0666″
**) kalo mau ganti devices cukup kopi baris dan tambahkan itu terus ganti idVendor dengan idVendor devices yg baru

#chmod a+r /etc/udev/rules.d/51-android.rules

Reload rules baru :
# udevadm control –reload-rules

Cek devices :
$ adb devices

(:
==================================================================================================

Open android project di eclipse, klik kanan folder project -> run as Android Application -> pilih Hp-nya

sumber **)
http://developer.android.com/tools/device.html
http://stackoverflow.com/questions/2710499/android-sdk-on-a-64-bit-linux-machine
http://abakalidis.blogspot.com/2011/09/android-development-on-fedora-15-howto.html
http://chetanpatil.info/1/post/2011/12/deploying-application-on-android-phone-from-fedora.html

Advertisements
This entry was posted in android, linux. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s