If trying to uninstall android studio from ubuntu 18.04 the try using this
sudo apt-get remove android-studio
else if you manually installed from .deb
file then this will help you out-
sudo dpkg --remove android-studio
Now in case if you installed android studio using snap ,then above commands will not work and show you following errors-
dpkg: warning: ignoring request to remove android-studio which isn't installed
You can try using umake
to delete android studio-
umake android android-studio --remove
but in case it shows some error like this
ERROR: You can't remove Android Studio as it isn't installed
try using following command.
If you installed android studio using snap installation,then using this command
will uninstall android studio-
snap remove android-studio
which studio.sh
and it will show you where it is located. Then just remove it.cd
to location, thenrm -rf android-studio
. Also there are hidden folders where the work is stored in your home. Remove those too. – SudoSURoot Aug 24 '15 at 15:36