Android SDK 文件夹占用大量磁盘空间.我们是否需要保留所有系统映像? [英] Android SDK folder taking a lot of disk space. Do we need to keep all of the System Images?

查看:81
本文介绍了Android SDK 文件夹占用大量磁盘空间.我们是否需要保留所有系统映像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的磁盘上的 android sdk 文件夹中堆积着很多系统映像.我几乎不使用模拟器.可能是 6 个月一次.我的大部分开发都是直接在设备上进行的.我想检查的是,删除系统映像(至少对于旧 APIS,即 <22)是否会影响开发?

There are a lot of system images piling up on my disk in the android sdk folder. i hardly use the emulator. May be once in 6 months. Most of my development is directly on device. What i wanted to check was, will removing the system images (at least for the old APIS i.e. < 22) impact the development?

还有下面看到的google apis文件夹.我应该为所有版本保留它还是只保留最新的一个就足够了?

以上截图来自 WinDirStat 工具.——https://windirstat.net

Screenshot above is from WinDirStat tool. - https://windirstat.net

推荐答案

系统映像是预装的 Android 操作系统,供模拟器使用.如果您使用真实的 Android 设备进行调试,则不再需要它们,因此您可以将它们全部删除.

System images are pre-installed Android operating systems, and are only used by emulators. If you use your real Android device for debugging, you no longer need them, so you can remove them all.

删除它们的最干净方法是使用 SDK Manager.打开 SDK Manager 并取消选中那些系统映像,然后应用.

The cleanest way to remove them is using SDK Manager. Open up SDK Manager and uncheck those system images and then apply.

也可以随意删除其他无用的组件(例如旧的 SDK 级别).

Also feel free to remove other components (e.g. old SDK levels) that are of no use.

这篇关于Android SDK 文件夹占用大量磁盘空间.我们是否需要保留所有系统映像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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