'How can I get free space back after deleting Android Studio emulators?

my emulators on Android Studio were buggy so I decided to reinstall them. Prior to deleting 2 emulators (they were about 11 and 9 GBs large) I took a screenshot of available space on my file manager, and after deleting them I noticed that the available space increased by 4.8 GBs, and not ~20 GBs. I checked the trash folder and ran a disk usage analysis, but couldn't see where the emulator files went if they weren't deleted.

My OS is Pop!_OS 20.04, my Android Studio version is 2021.1.1 Patch 2 (Flatpak version) and my ADB version is 1.0.39.

Edit: The answers to this question weren't helpful, since I use Linux (and hence don't have an AppData folder) and the size of my ~/.android/avd directory is 12.5 KBs.



Solution 1:[1]

Remove emulator files from AVD directory inside ~/.android/avd/

  • Open the AVD manager
  • Right-click one of the devices
  • Select "Show on Disk"

Solution 2:[2]

Android Studio 2021.- seem just unflag the file as deleted.. stil there avter deleting from app.. i was create 2 version avd.. deleted from file explorer(using windows) by hit SHIFT+DEL reclaim diskspace from last AVD.. but not space already deleted using avd manager.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Hiren Bharodiya
Solution 2 Rendra_HMD