- Delete your old installation (optional)
rm -rf ~/.android-sdk-macosx/ - Download adb
- Go folder download
cd Download - Unzip file
unzip platform-tools-latest*.zip - Create and move adb
mkdir ~/.android-sdk-macosx mv platform-tools/ ~/.android-sdk-macosx/platform-tools - Add platform your path
echo 'export PATH=$PATH:~/.android-sdk-macosx/platform-tools/' >> ~/.bash_profile - Refresh your bash profile (restart terminal)
source ~/.bash_profile - Start adb devices
adb devices
How to remove ppa repo linux: Check sources $ sudo ls /etc/apt/sources.list.d See file $ sudo cat /etc/apt/sources.list.d/rael-gc-ubuntu-rvm-jammy.list Delete repo $ sudo rm -rf /etc/apt/sources.list.d/rael-gc-ubuntu-rvm-jammy.list Update repo $ sudo apt update
Komentar