Uninstall android studio completely
I installed android studio using the following method
To set up Android Studio on Linux:
Unpack the downloaded Tar file, android-studio-ide--linux.zip, into an appropriate location for your applications. To launch Android Studio, navigate to the android-studio/bin/ directory in a terminal and execute studio.sh. You may want to add android-studio/bin/ to your PATH environmental variable so that you can start Android Studio from any directory. Follow the links to install the SDK outside of the Android Studio directories.
For whatever reason he has become corrupt and insists that i have to uninstall and reinstall I can't for the life of me find any way to uninstall it
I didn't use apt-get
so I can't do apt-get remove
.
Does anyone have any suggestions?
These are default locations as of Android Studio 1.0.2 and it is possible to change them by editing ..../android-studio/bin/idea.properties
.
- Delete the android-studio folder;
- Delete the sdk folder if it is in not inside the android-studio directory;
- Delete
~/.AndroidStudio
, which containsconfig
andsystem
; - Delete
~/.android
; - Delete
~/.local/share/applications/jetbrains-android-studio.desktop
, if you created a shortcut using Configure->Create Desktop Entry .
Note: Add on to step#5 above - Sometimes the icon launcher can be in one of the following locations to:
/usr/share/applications
/usr/local/share/applications
If your launcher is located in any of the first two directories you will need root permissions to remove it
PPAs
A deeper step of removing Android Studio completely from your Linux Distribution would also include the removal of PPAs related to Android Studio.
In Ubuntu 16.04,
- Go to Software and Updates > Other Software
- Scroll down the list and select to find the ones related to Android-studio
- Click remove and authenticate
This helps stopping updates and the very annoying error message:
The package has not been installed. I can't find the archive for it.