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

查看:1146
本文介绍了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?

此外,谷歌API的文件夹下看到。我应该保持它的所有版本,或只是一个最新足矣?

推荐答案

在Android的SDK目录系统映像包含pre-安装的Andr​​oid操作系统的映像,并且只能由仿真器使用。如果您使用真正的Andr​​oid设备进行调试,您没有记录仪需要他们,你可以删除它们。

System images in Android SDK directory contain images of pre-installed Android operating systems, and are only used by emulators. If you use your real Android device for debugging, you no logger need them, you can remove them as well.

如果您想了解更多关于这些文件,请继续阅读我答案!

If you want to know more about those files, keep reading my answer!


  • x86映像:这些图像与模拟x86架构的设备作为其主要的处理器的指令集

  • x86 images: These images emulate devices with x86 architecture as their main processor's instruction set.

ARM :这些仿真处理器与ARM架构

ARM: These are emulating processors with ARM architecture.

什么是目录的android-22 的呢?而为什么会有这样的 Android的 - 在系统图像目录* 目录

What is directory android-22 for? And why are there such android-* directories in the system images directory?

正如你可能已经想通了为什么,每个系统的图像是一个特定的Andr​​oid版本的安装,以及硬件架构。因此,我们应该有不同的Andr​​oid版本的多个系统映像。

As you might already figured out the why, each system images is an installation of a particular Android version as well as a hardware architecture. So we should have multiple system images for different Android versions.

我可以在删除系统映像?

Am I allowed to remove system images?

总之,是的。但是,删除它们后,您将不再能够使用仿真器。但你仍然可以使用真正的Andr​​oid设备没有任何问题。

In short, Yes. But after removing them, you are no longer able to use emulators. But you can still use your real Android device without any issues.

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

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