Created
March 2, 2026 00:49
-
-
Save cmbaughman/d816cd82bed416874f3faa917858b56d to your computer and use it in GitHub Desktop.
Get Android Dev Tools Working Right With USB
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
| #!/usr/bin/bash | |
| sudo apt update | |
| sudo apt install android-sdk-platform-tools-common | |
| # If it's already installed, manually add the Google vendor ID | |
| echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"' | sudo tee /etc/udev/rules.d/51-android.rules | |
| sudo udevadm control --reload-rules | |
| sudo service udev restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment