Created
May 11, 2015 11:25
-
-
Save gauravbarthwal/bcac20bb2d76e45a2299 to your computer and use it in GitHub Desktop.
How to run android app on device using Android Studio in Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps to connect device with Android Studio in Ubuntu:- | |
1. Enable USB debugging on your device. | |
2. Go to root and create a file: sudo vi /etc/udev/rules.d/51-android.rules | |
a. Add the following text in the file: | |
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev" | |
** Note: vendor id is different for each company. | |
Company USB Vendor ID | |
Acer 0502 | |
ASUS 0b05 | |
Dell 413c | |
Foxconn 0489 | |
Fujitsu 04c5 | |
Fujitsu Toshiba 04c5 | |
Garmin-Asus 091e | |
Google 18d1 | |
Haier 201E | |
Hisense 109b | |
HTC 0bb4 | |
Huawei 12d1 | |
Intel 8087 | |
K-Touch 24e3 | |
KT Tech 2116 | |
Kyocera 0482 | |
Lenovo 17ef | |
LG 1004 | |
Motorola 22b8 | |
MTK 0e8d | |
NEC 0409 | |
Nook 2080 | |
Nvidia 0955 | |
OTGV 2257 | |
Pantech 10a9 | |
Pegatron 1d4d | |
Philips 0471 | |
PMC-Sierra 04da | |
Qualcomm 05c6 | |
SK Telesys 1f53 | |
Samsung 04e8 | |
Sharp 04dd | |
Sony 054c | |
Sony Ericsson 0fce | |
Sony Mobile Communications 0fce | |
Teleepoch 2340 | |
Toshiba 0930 | |
ZTE 19d2 | |
b. Now execute: chmod a+r /etc/udev/rules.d/51-android.rules | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment