I installed Android studio some time ago using the suggested 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.

But for whatever reason it has become corrupt and insists I must un-install and re-install. However I can't for the life of me find how to un-install.

Because I didn't use apt-get I can't do apt-get remove.

Does anyone have any suggestions?

share|improve this question
up vote 8 down vote accepted

I would suggest to check the installation directory for a readme or an uninstall script but in general: do what you did to install it in reverse order and delete everything you added as a setting or as a file on your system related to that installation.


Installations done with a tar file are mosttimes uninstalled with the rm command. You go to the directory where you went for this: "Unpack the downloaded Tar file, android-studio-ide--linux.zip, into an appropriate location for your applications" and rm the files and directories created here.

If you did "You may want to add android-studio/bin/ to your PATH environmental" too you will need to undo this alteration by deleting android-studio/bin/ from the file you added this PATH too.

share|improve this answer

For people who installed Android Studio using Ubuntu make (umake android) you can simply uninstall it by running :

umake android --remove

After that just delete Android Studio's related folders in your /home folder :

rm -r ~/.AndroidStudio
rm -r ~/.android
share|improve this answer

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.

  1. Delete the android-studio folder;
  2. Delete the sdk folder if it is in not inside the android-studio directory;
  3. Delete ~/.AndroidStudio, which contains config and system;
  4. Delete ~/.android;
  5. 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 file is in any of the first two directories, you will require root permissions to remove it.

share|improve this answer
    
actually there are multiple AndroidStudio directory. rm -rf ~/.AndroidStudio* – shantanu Oct 24 '17 at 13:13

To re-configure you have to delete the following (hidden) folders:

~/.android ~/.AndroidStudio

To show these hidden folders in the file manager press Ctrl+H when in your home directory (aka "~")

share|improve this answer

To "uninstall" this just delete the folder.
I think your problem is that you unzipped it to unfit folder - either you have no launch permissions for it, or it has space and rare symbols in path, or something. It should just work, you know.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.