How to Solve Low Disk Space for Android Studio?

前端 未结 9 1348
渐次进展
渐次进展 2021-02-01 01:38

I am getting this error randomly and not sure as to why my disk space is getting low for Android Studio..

Low disk space on a Android Studio system direct

相关标签:
9条回答
  • 2021-02-01 01:49

    You can install studio and SDK separately into different partitions: http://developer.android.com/sdk/index.html#Other

    Or you can move your existing SDK folder anywhere and then just point studio to it in preferences.

    Also consider that AVD files are actually stored in your system user folder (user/.android/avd on Windows, not sure where exactly on mac), not in SDK folder.

    0 讨论(0)
  • 2021-02-01 01:50

    I had the same problem, I installed android studio a 128gb partition and togther with JAVA jdk and all sdk related file it consume most of its disk space. I re-install it on a larger partition and it solve my problem.

    0 讨论(0)
  • 2021-02-01 01:59

    I was getting this error and restarting Android Studio and adding more memory did not help. At this point I noticed it was happening across all my emulators in android studio. It turns out that some of the files in the emulators could not be read because they have became corrupt. The simplest solution is usually the best answer so restarting my computer fixed it. Hope this saves someone time!

    0 讨论(0)
  • 2021-02-01 02:00

    Please open below mention path and delete you all avd's here.

    C:\Users{Username}.android\avd

    Sometimes, deleting emulator in android studio is not enough to reduce all the spaces grab by these emulator's. So deleting these emulator's from above mention path.

    0 讨论(0)
  • 2021-02-01 02:03

    I had a same problem and I solved by deleting some unwanted files from my disk.

    Reason - The disk space is low which u have android SDK and android studio file.

    solution - Delect some files from your disk which has your android sdk and studio.

    0 讨论(0)
  • 2021-02-01 02:07

    Android Studio with SDK Tools,JDK and AVD takes almost 30gb but I believe that it needs a little bit more to work properly.Everything bigger than 40gb it's Ok.It depends on the number of SDK's that you download.If you have 40gb of free disk space you will never have this message.Sometimes crashes or pop messages if you use it a lot of days without reboot your computer make a reboot and everything will be fine.

    0 讨论(0)
提交回复
热议问题