Skip to content

Instantly share code, notes, and snippets.

@umanda
Created July 13, 2016 06:47
Show Gist options
  • Save umanda/1987e9671ece335befb95c662015407f to your computer and use it in GitHub Desktop.
Save umanda/1987e9671ece335befb95c662015407f to your computer and use it in GitHub Desktop.
Configure hardware devices to debug / test android app on Linux ( Ubuntu ) for Android Studio
1) sudo vim /etc/udev/rules.d/51-android.rules
Add SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666",
ATTR{idVendor}=="0bb4" > this is your mobile device vendor
for more info please find following url
https://developer.android.com/studio/run/device.html
2) sudo chmod 644 /etc/udev/rules.d/51-android.rules
3) sudo chown umanda /etc/udev/rules.d/51-android.rules # use your user name instaed umanda
4) sudo service udev restart
Restert Android Studio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment