没有足够的空间留在Android模拟器模拟器、没有足够、空间、Android

2023-09-06 02:31:22 作者:水清墨韵

我一直在开发我的应用程序的两个月左右,在上周我已经开始尝试编译和运行从Eclipse的应用程序时收到以下错误:

I have been developing my app for around two months, in the last week i have started getting the following error when trying to compile and run the app from Eclipse:

java.io.IOException: Unable to upload file: No space left on device

在APK出来在3.6MB和仿真器是最近创建的新鲜的,拥有512MB的SD卡和其他规格完全相同G1。

The APK comes out at 3.6Mb and the emulator is a recently created fresh one with 512Mb SD card and other specs identical to the G1.

任何人都可以提出一个原因,这可能发生?

Can anyone suggest a reason this might be happening?

推荐答案

我有这种情况发生之前,我通过创建一个新的虚拟设备作为Hedlund的先生提出解决它。我没有花时间试图弄清楚为什么会发生,但创建让我的应用程序上传新的设备。我的应用程序几乎是两倍大你的,它上传罚款的大部分时间。尝试删除并重新创建模拟器作为Hedlund的先生建议。它为我工作在多个场合......作为新的Andr​​oid开发,我怀疑我已经运行到这个问题,由于资源泄漏,但我还没有追逐这个问题还没有下来,因为我仍然集中让我的应用程序才能正常工作......希望这有助于!

I've had that happen before, and I solved it by creating a new virtual device as Mr. Hedlund suggests. I didn't spend time trying to figure out why it happened, but creating the new device allowed my app to upload. My application is nearly twice as big as yours, and it uploads fine most of the time. Try deleting and re-creating the emulator as Mr. Hedlund suggests. It's worked for me on several occasions... Being new at Android development, I'm suspicious that I've been running into that issue due to resource leaks, but I haven't chased the problem down yet because I'm still concentrating on getting my app to work correctly... Hope this helps!