skip to Main Content

I download Android Studio – Arctic Fox | 2020.3.1 from their official website in my ubuntu 20.04 LTS.

My installation Process:

I downloaded the zip file and extracted it.
I cd into the /bin/ directory and executed the studio.sh file using ./studio.sh command.
The installation went through but now I’m having a lot of problems.

I want to completely uninstall it without altering anything but don’t know how.
I would be glad if anyone could help me.

5

Answers


  1. studio.sh is not an installer. It is the starter.

    Uninstall is to delete the directory where you extract the package, no other steps.

    BTW, I run Android Studio Arctic Fox on my Linux Mint very well, what are your problems? Mint suppose to be same as Ubuntu.

    Login or Signup to reply.
  2. First, try to delete all the hidden files of Android from the home directory if any exist. Hidden files are in .cache/Google/ and .config/Google of your home directory.

    Then, type the following commands in Terminal.

    $ cd /usr/local
    
    $ sudo rm -r ./android-studio 
    
    Login or Signup to reply.
  3. As you installed with zip file go into directory where you installed it then do rm file created there

    note if you have added it to you path also you need to remove it by rm -rf android-studio/bin/

    Login or Signup to reply.
  4. sudo snap remove android-studio
    
    Login or Signup to reply.
  5. When you download the .zip file and extract it, the /android-studio/ folder then also has file Install-Linux-tar.txt, which says:

    By default, Android Studio stores all your settings in the
    ~/.config/Google/AndroidStudio2022.1 directory
    and uses ~/.local/share/Google/AndroidStudio2022.1 as a data cache.

    That means you have to visit these directories and delete their content.

    Don’t forget to delete the /android-studio/ folder too. You might have downloaded it either to /usr/local/ for your user profile or /opt/ for shared users. If so, to delete the /android-studio/ folder, go to Terminal and type:

    sudo rm -r /usr/local/android-studio/

    or

    sudo rm -r /opt/android-studio/

    respectively.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search