Android Studio 磁盘空间不足如何解决? [英] How to Solve Low Disk Space for Android Studio?

查看:66
本文介绍了Android Studio 磁盘空间不足如何解决?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我随机收到此错误,但不确定为什么我的 Android Studio 磁盘空间越来越低..

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

Android Studio 系统目录分区上的磁盘空间不足

Low disk space on a Android Studio system directory partition

更新

此应用程序安装在运行 10.10.1 w/251GB 内部存储和 10GB 操作系统恢复驱动器的 Mac 上.

This Application is installed on a mac running 10.10.1 w/ 251GB internal storage and an OS restore Drive taking 10GB.

我认为问题是,一旦安装了应用程序,它就会被放置在较小的分区上.

I think the problem is, once the application was installed it was placed on the smaller partition.

我将尝试删除此应用程序及其关联的所有文件,然后重新安装.希望这能解决问题.

I will attempt to remove this application and all files associated to it, and reinstall. Hopefully this will solve the issue.

推荐答案

可以将studio和SDK分别安装到不同的分区:http://developer.android.com/sdk/index.html#Other

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

或者您可以将现有的 SDK 文件夹移动到任何位置,然后在首选项中将 studio 指向它.

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

还要考虑到 AVD 文件实际上存储在您的系统 user 文件夹中(Windows 上的 user/.android/avd,不确定在 mac 上的确切位置),而不是在SDK 文件夹.

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.

这篇关于Android Studio 磁盘空间不足如何解决?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆