Created
October 9, 2019 07:56
-
-
Save Ericwyn/e89553d8dfcb9fc9066da506d9e6fd93 to your computer and use it in GitHub Desktop.
install-last-android-sdk-platform-tools
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
# !bash.sh | |
if [ `id -u` -eq 0 ]; then | |
wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip | |
unzip platform-tools-latest-linux.zip | |
sudo cp -R -f platform-tools/* /bin/* | |
rm -rf platform-tools/ | |
rm platform-tools-latest-linux.zip | |
echo "install latest platform success" | |
/bin/fastboot --version | |
else | |
echo "please use 'sudo' to run the install script" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment