Android Studio磁盘空间不足如何解决

在学习app开发过程中,用Android Studio模拟器模拟手机出现了磁盘空间不足的情况,具体报错:Emulator: emulator: ERROR: Not enough space to create userdata partition.

解决方案

1、在一个空间比较大的盘下新建一个android文件夹,把下面这个文件(Pixel_2_API_R.avd)剪切到新建的文件夹下。
Android Studio磁盘空间不足:Emulator: emulator: ERROR: Not enough space to create userdata partition
2、剪切完后打开原文件夹C盘后缀为ini (Pixel_2_API_R)的文件并修改启动路径Android Studio磁盘空间不足:Emulator: emulator: ERROR: Not enough space to create userdata partition

下图是我已经修改后的我自己创建的路径Android Studio磁盘空间不足:Emulator: emulator: ERROR: Not enough space to create userdata partition
修改并保存后去项目里重新打开就可以正常打开模拟器了。
Android Studio磁盘空间不足:Emulator: emulator: ERROR: Not enough space to create userdata partition

相关文章:

  • 2021-09-25
  • 2021-11-14
  • 2022-12-23
  • 2022-02-10
  • 2021-09-19
  • 2021-12-31
猜你喜欢
  • 2022-12-23
  • 2021-10-20
  • 2021-12-26
  • 2021-12-01
  • 2021-12-25
  • 2021-10-20
  • 2021-11-26
相关资源
相似解决方案