The Android Debug Bridge (adb) is a really useful tool to interface with your phone from a Terminal on your Pc. It is an official Android debugging tool made by Google.
In order to use it on your phone, you will first have to enable USB debugging:
- Enable Developer Options. You can do so by going to Settings > About Phone and tapping Build Number 7 times
- Now go to Settings > System > Developer options and enable Usb Debugging
Next you have to download adb to your PC.
- Extract the zip
- Open a command prompt in this directory. On Windows you can do so by holding shift and right clicking the folder and then pressing
Open Powershell here
Now you're all set and just need to run one simple command to solve the error:
The commands below are for Windows, if you're on Mac or Linux, replace the .\
with ./
- Connect your phone to your pc using its USB cable
- In the terminal type
.\adb devices
- Your phone should now show a popup asking you whether you want to grant the PC debugging permissions. Select yes
- Your terminal should show your phone. If the command had no output make sure you granted debugging permissions
- Now simply run the command
.\adb shell pm uninstall com.vanced.android.youtube