Created
September 17, 2018 15:37
-
-
Save mirland/dba8b71712d4aa402bc0c0b9e8999935 to your computer and use it in GitHub Desktop.
Fix adb permissions, based on https://stackoverflow.com/questions/14460656/android-debug-bridge-adb-device-no-permissions/14478777#14478777
This file contains 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
#!/bin/bash | |
group=`id -g -n` | |
sudo chown root:$group adb | |
sudo chmod 4550 adb | |
sudo ./adb kill-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment