how to uninstall android studio
- User
how to uninstall android studio
- Assistant
how to uninstall android studio
Uninstalling Android Studio depends on the operating system you're using. Below are step-by-step instructions for Windows, macOS, and Linux. Additionally, I'll guide you on how to remove residual files and settings to ensure a complete uninstallation.
Via Control Panel:
Win + R, type appwiz.cpl, and press Enter to open the Programs and Features window.Via Settings (Windows 10/11):
After uninstalling Android Studio, it's a good idea to delete residual files to free up space and remove configurations:
Delete the Android Studio Installation Folder:
C:\Program Files\Android\Android Studio.Remove SDKs and Other Related Files:
C:\Users\<YourUsername>\AppData\Local\Android\Sdk. Delete the Sdk folder.C:\Users\<YourUsername>\.AndroidStudio<version>. Delete this hidden folder.C:\Users\<YourUsername>\.gradleC:\Users\<YourUsername>\.androidDelete Environment Variables (Optional):
Win + Pause > Advanced system settings > Environment Variables.ANDROID_HOME or ANDROID_SDK_ROOT and delete them if they are no longer needed.Using Finder:
Using Terminal (Optional):
sudo rm -rf /Applications/Android\ Studio.app
Delete SDK and Other Configurations:
Open Finder.
Press Shift + Cmd + G to open the Go to Folder dialog.
Enter the following paths one by one and delete the respective folders if they exist:
~/Library/Android/~/Library/Application Support/AndroidStudio<version>/~/.android/~/.AndroidStudio<version>/~/Library/Preferences/AndroidStudio<version>/~/Library/Caches/AndroidStudio<version>/~/Library/Logs/AndroidStudio<version>/~/Library/Preferences/com.google.android.studio.plistRemove Gradle and Other Caches:
rm -rf ~/.gradle
Empty the Trash:
If Installed via Snap:
sudo snap remove android-studio
If Installed via Other Methods (e.g., extracted from a ZIP):
/opt/android-studio or your home directory.sudo rm -rf /path/to/android-studio
/path/to/android-studio with the actual path.Delete SDK and Other Configurations:
rm -rf ~/.android/
rm -rf ~/.AndroidStudio<version>/
rm -rf ~/.config/Google/AndroidStudio<version>/
rm -rf ~/Android/Sdk
rm -rf ~/.gradle
<version> with your specific Android Studio version number.Remove Application Menu Entries (If Any):
rm ~/.local/share/applications/android-studio.desktop
Backup Projects: Before uninstalling, ensure that any Android projects you've created are backed up or stored in a separate location to prevent accidental loss.
Remove Environment Variables:
ANDROID_HOME or ANDROID_SDK_ROOT.~/.bash_profile, ~/.zshrc) and remove lines setting ANDROID_HOME or ANDROID_SDK_ROOT, then reload the shell configuration:
source ~/.bash_profile
source ~/.zshrc
Check for IntelliJ Plugins: If you used IntelliJ IDEA with Android plugins, consider removing those plugins if they're no longer needed.
By following the above steps tailored to your operating system, you should be able to completely uninstall Android Studio from your machine. If you encounter any issues or need further assistance, feel free to ask!
Not yet included in a published release.