AVD在Android Studios上无法运行

3

我刚刚开始使用Android Studios(之前使用Eclipse),但我无法运行我的第一个程序。我查了几个答案,但都没有帮助。我将RAM更改为748MB。然后我注意到了这个错误:

NAND: could not write file C:\Users\Kbluue\AppData\Local\Temp\\AndroidEmulator\TMP43A5.tmp, No space left on device

由于我的 C:\ 目录很拥挤,我尝试将目录更改为 D:\ 驱动器,并且这个问题似乎可以回答:可能更改 Android 虚拟设备保存位置吗?。只有顶部答案没有帮助。这是新错误:

D:\Android\sdk\tools\emulator.exe -avd Nexus_S_API_21 -netspeed full -netdelay none

Note: The environment variable $ANDROID_SDK_HOME is set, and the emulator uses that variable to locate AVDs.
This may result in the emulator failing to start if it cannot find the AVDs in the folder pointed to by the
given environment variable.
ANDROID_SDK_HOME=D:\Users\Kbluue

NAND: could not write file C:\Users\Kbluue\AppData\Local\Temp\\AndroidEmulator\TMP43A5.tmp, No space left on device

另一个答案提到了一个工具目录,但不幸的是我在我的工作室中找不到它。

现在该怎么办?

1个回答

0
我的问题通过删除用户/.AndroidStudio/tmp文件并在安装Android Studio的C盘上获得更多空间来解决。(我只有500 MB可用空间)

我在我的.androidStudio文件夹中没有/tmp目录,只有/config和/system目录。还有其他选择吗?我想回归使用Eclipse,但这里的消息是它已经停止支持了。 - kbluue
不要再使用Eclipse了...在某个时刻你将不得不迁移,现在比以后好。尝试在更多空间的地方重新安装。你有SSD吗?尝试在不同的分区上安装Android Studio。 - Raluca Lucaci

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接