Removing or uninstalling the android studio from Ubuntu is easy. Using the following instructions we can uninstall the android studio from Ubuntu:
Note: The following steps are tested with both Ubuntu 16.04 or 18.04
- Delete the android-studio folder;
- Delete the sdk folder if it is in not inside the android-studio directory;
- Delete ~/.AndroidStudio/, which contains config and system;
- Delete ~/.android;
- Delete ~/.local/share/applications/jetbrains-studio.desktop, if it exists.