How to delete android studio linux

Uninstall Android Studio completely in Ubuntu, Fedora and it’s derivatives !

As we all know, Android Studio 3 and above(at the time of writing) is now the official integrated development environment (IDE) for Google’s mobile Android operating system, built on JetBrains’ IntelliJ IDEA software and designed specifically for Android development, as we all know. It is a replacement for the Eclipse Android Development Tools (ADT) as primary IDE for native Android application development.

We need to fully uninstall the software, but as we know there is no single command available for this as the installer given by Google is a zip file and there is no .deb package. We need to manually install it and if not required again manually delete/remove or uninstall it. The steps for installing on Ubuntu and Fedora as well it’s derivatives is given here. I am writing this tutorial on lubuntu 17.10, lxde desktop, but the procedure/method is the same for all it’s derivatives.

The default locations are …./android-studio/bin/idea.properties for older versions basically.

Delete the android-studio folder or anything which mentions Android.

/.AndroidStudio , which contains config and system ;
Delete

/.local/share/applications/jetbrains. xxxxxx , if you created a shortcut using Configure->Create Desktop Entry.

  • Delete the sdk folder if it is in not inside the android-studio directory;
  • Sometimes the icon launcher can be as seen below:-

    If your launcher file is in any of the first two directories, you will require root permissions in order to delete it.

    Note:- We need to activate the hidden folders in order to see it inside the file manager GUI. Hit Ctrl + H

    Источник

    Uninstall Android Studio completely

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

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

    I didn’t use apt-get so I can’t do apt-get remove .

    Does anyone have any suggestions?

    7 Answers 7

    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 ;
    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:

    If your launcher file is in any of the first two directories, you will require 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.

    • 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.

    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.

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

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

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

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

    Android Studio versions 4.0+ have built-in uninstall and replace functionality that uninstalls packages held in multiple locations by previous versions of Android Studio. Just run the installer of the latest Android Studio.

    To uninstall the Android Studio snap package run the following command:

    To uninstall a manually installed Android Studio .deb package search in /etc/apt/sources.list to check if there is a software source for a PPA for Android Studio, for example ppa:maarten-fonville/android-studio. If so, remove this PPA by running a command of the form sudo apt-add-repository —remove ppa:maarten-fonville/android-studio . The italicized text in the preceding command indicates that the name of the PPA can be changed if Android Studio was installed from a different PPA.

    Then run the following commands:

    These commands will remove Android Studio, remove the dependencies of Android Studio that are no longer required by other packages and will also purge all related system configuration files.

    Источник

    Удалить Android Studio полностью

    Некоторое время назад я установил Android studio, используя следующий предложенный метод:

    Чтобы настроить Android Studio на Linux:

    Распакуйте загруженный Tar-файл, android-studio-ide—linux.zip, в подходящее место для ваших приложений. Чтобы запустить Android Studio, перейдите в каталог android-studio / bin / в терминале и запустите studio.sh. Вы можете добавить android-studio / bin / в переменную окружения PATH, чтобы запустить Android Studio из любого каталога. Перейдите по ссылкам, чтобы установить SDK вне каталогов Android Studio.

    По какой-то причине он стал поврежденным и настаивает на том, чтобы я должен был удалить и заново установить. Я не могу на всю жизнь найти, как удалить его, однако.

    Я не использовал, apt-get поэтому я не могу сделать apt-get remove .

    У кого-нибудь есть предложения?

    Я бы посоветовал проверить каталог установки на наличие файла readme или сценария удаления, но в целом: сделайте то, что вы сделали, чтобы установить его в обратном порядке, и удалите все, что вы добавили как параметр или как файл в вашей системе, связанный с этой установкой.

    Установки, выполненные с помощью tar-файла, чаще всего удаляются с помощью rm команды. Вы идете в каталог, куда вы пошли для этого: «Распакуйте скачанный файл Tar, android-studio-ide—linux.zip, в подходящее место для ваших приложений» и rm файлы и каталоги, созданные здесь.

    Если вы сделали «Возможно, вы захотите добавить android-studio/bin/ в свою среду PATH», вам нужно будет отменить это изменение, удалив android-studio/bin/ из файла, который вы добавили эту PATH, тоже.

    Это стандартные местоположения, начиная с Android Studio 1.0.2, и их можно изменить путем редактирования . /android-studio/bin/idea.properties .

    1. Удалить папку android-studio;
    2. Удалите папку sdk, если она не находится в каталоге android-studio;
    3. Удалить

    /.AndroidStudio , который содержит config и system ;
    Удалить

    /.local/share/applications/jetbrains-android-studio.desktop , если вы создали ярлык, используя Configure-> Create Desktop Entry .

    Примечание. Добавьте к шагу № 5 выше — иногда средство запуска значков может находиться в одном из следующих мест:

    Если ваш файл запуска находится в любом из первых двух каталогов, вам потребуются права root для его удаления.

    PPA
    Более глубокий этап полного удаления Android Studio из дистрибутива Linux также включает удаление PPA, связанных с Android Studio.

    • Перейти к программному обеспечению и обновлениям> Другое программное обеспечение
    • Прокрутите список вниз и выберите, чтобы найти те, которые связаны с Android-студией
    • Нажмите удалить и аутентифицироваться

    This helps stopping updates and the very annoying error message:
    The package has not been installed. I can’t find the archive for it.

    Источник

    Удалите Android Studio полностью

    Я установил Android-студию некоторое время назад, используя предложенный метод:

    Чтобы настроить Android Studio на Linux:

    Распакуйте загруженный файл Tar, android-studio -ide—linux.zip, в соответствующее место для ваших приложений. Чтобы запустить Android Studio, перейдите к android-studio /bin /directory в терминале и выполнить studio.sh. Вы может захотеть добавить android-studio /bin /в вашу среду PATH переменную, чтобы вы могли запускать Android Studio из любого каталога. Следуйте ссылкам, чтобы установить SDK за пределы Android Studio каталоги.

    Но по какой-то причине он стал коррумпированным и настаивает на том, что я должен установить и переустановить. Однако я не могу для жизни меня найти, как удалить установку.

    Поскольку я не использовал apt-get, я не могу сделать apt-get remove.

    Есть ли у кого-нибудь предложения?

    6 ответов

    Я бы предложил проверить каталог установки для файла readme или uninstall, но в целом: сделайте то, что вы сделали, чтобы установить его в обратном порядке и удалить все, что вы добавили в качестве параметра, или как файл в вашей системе, связанный с этим установка.

    Установки, выполненные с tar-файлом, наиболее часто удаляются с помощью команды rm . Вы переходите в каталог, куда вы пошли для этого: «Распакуйте загруженный файл Tar, android-studio-ide—linux.zip в соответствующее место для ваших приложений» и rm создаваемые здесь файлы и каталоги.

    Если вы сделали «Вы можете добавить android-studio/bin/ в свою среду PATH», вам нужно будет отменить это изменение, удалив —- +: = 3 =: + —- из файла, который вы добавили в этот PATH.

    Это места по умолчанию, такие как Android Studio 1.0.2, и их можно изменить, отредактировав . /android-studio/bin/idea.properties .

    1. Удалить папку для Android-студии;
    2. Удалите папку sdk, если она находится внутри каталога Android-студии;
    3. Удалить

    /.AndroidStudio , который содержит config и system ;
    Удалить

    /.local/share/applications/jetbrains-android-studio.desktop , если вы создали ярлык с помощью Configure-> Создать запись рабочего стола .

    Примечание. Добавьте к шагу # 5 выше — Иногда пусковая установка значка может находиться в одном из следующих мест:

    Если ваш файл запуска находится в любом из первых двух каталогов, вам потребуются права root для его удаления.

    PPAs
    Более глубокий шаг по удалению Android Studio полностью из вашего дистрибутива Linux также будет включать удаление PPA, связанных с Android Studio.

    • Перейдите в Программное обеспечение и обновления> Другое программное обеспечение
    • Прокрутите список вниз и выберите, чтобы найти те, которые связаны с Android-studio
    • Нажмите «Удалить» и подтвердите подлинность

    Это помогает остановить обновления и очень раздражающее сообщение об ошибке:
    The package has not been installed. I can’t find the archive for it.

    Для повторной настройки вам необходимо удалить следующие (скрытые) папки:

    Чтобы показать эти скрытые папки в файловом менеджере, нажмите Ctrl + H , когда в вашем домашнем каталоге (aka «

    Для тех, кто установил Android Studio с помощью Ubuntu make ( umake android ), вы можете просто удалить его, выполнив:

    После этого просто удалите связанные папки Android Studio в папке /home :

    Обновление 2018

    Добавив к ответ Дэниела здесь, я хотел бы упомянуть, что удаление Android Studio может быть угрозой время от времени. Более глубокий шаг по удалению Android Studio полностью из вашего дистрибутива Linux также будет включать удаление PPA, связанных с Android Studio.

    • Перейдите в Программное обеспечение и обновления> Другое программное обеспечение
    • Прокрутите список вниз и выберите, чтобы найти те, которые связаны с Android-studio
    • Нажмите «Удалить» и подтвердите подлинность
    • Вот и все. Вы свободны.

    Это поможет остановить обновления и очень раздражающее сообщение об ошибке The package has not been installed. I can’t find the archive for it.

    Чтобы «удалить», просто удалите папку.
    Я думаю, ваша проблема в том, что вы расстегнули ее в непригодной папке — либо у вас нет разрешений на запуск для нее, либо у нее есть пробел и редкие символы в пути или что-то в этом роде. Знаешь, это должно работать.

    Источник

    How do I uninstall Android Studio and the Android SDK?

    I tried to install Android Studio and it ended up taking up all of my free disk space. How do I uninstall it? The application reports it uses 400MB and /user/me/Library/Android directory reports 8GB. Can I delete these two directories? I would like to try and start fresh.

    I’m on Mac OSX Mavericks.

    Update:
    I was following the instructions here,

    This says, «Android Studio provides everything you need to start developing apps for Android».

    The next page says, «By default, the Android SDK does not include everything you need to start developing.» WTF? Which one is it?

    So following the instructions on that page it says add these items:

    I selected the items it recommended and noticed some items it mentions where already installed while others were not (the icon on the far right of it’s name).

    I clicked the minimal amount to install and clicked next. Half way through the download I start getting Low disk space warnings. Next I get Android out of space errors. So I cancel and look back at the application directory and that’s at 400MB. I then remember from somewhere that it said something would be installed in /Library/Android. I check that directory and it’s 7.4GB.

    2 Answers 2

    Most likely, you can just prune the sdk directories.

    On Mac OSX Yosemite, my android sdk folder was taking 18 GB two minutes ago. Now, it’s just 3.19 GB (not including Android Studio), after having deleted the packages I’m not currently using.

    From Android Studio, select Tools > Android > SDK Manager.

    Keep the tools. Keep the latest android sdk (currently at api level 21). That means, inside the folder api level 21; keep «SDK Platform», keep the «x86 emulator image for 64 bit», delete the «intel x86 emulator image for 32 bit», keep the «Samples for SDK», keep «Documentation for Android SDK», and keep «Sources for Android SDK»

    For the «Google APIs», only keep that if you plan to use the google maps api, or some other google apis. Most likely, you can just delete that one as well, and download it again should you ever need it.

    But do delete the package for «ARM emulator image» and all the other packages for the other api levels. Android is backwards-compatible, so targeting the latest SDK does not require additional SDKs even if your minimum SDK is very low.

    From the extra folder section: Keep the «Intel x86 Accelerator (HAXM installer)», keep the «Android support repository» and keep the «Android support library». You can delete the «Google Repository» (although, I’ve personally kept that one, so you’ll probably end up with even less than 3.19 GB once you delete it).

    And if you still need even more space, I guess you could even remove the «SDK Samples» and the «Sources of Android SDK» (not that I’d recommend doing that. Do it only if you really need the space). After all, if Windows Phone and iPhone developers can survive without having access to the source code of their platforms, there is no reason most of us couldn’t survive without the source code to our platform either.

    Источник

    Читайте также:  Недоступна windows тема aero
    Оцените статью