如何提高存储的Andr​​oid模拟器? (INSTALL_FAILED_INSUFFICIENT_STORAG​​E)模拟器、Andr、oid、INSTALL_FAILED_INSUFFICIENT

2023-09-11 11:54:48 作者:差點心動了

我得到这个有时(不经常)为我的项目之一,几类只  安装错误:INSTALL_FAILED_INSUFFICIENT_STORAG​​E

I get this sometimes(not often) for one of my projects, couple of classes only Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE

如何提高仿真器的存储?

How do I increase emulator's storage?

推荐答案

我在寻找的回答这个问题,并且是不满意上面的答案。但后来我发现,answer,所以这里是供将来参考:

I was searching for the answer to this question, and was unsatisfied with the above answers. But then I found the answer, so here it is for future reference:

要总结(并澄清),在Eclipse中,进入调试配置。你可以发现,在调试图标下拉。选择目标,然后选择preferred模拟器目标发动。然后,在其他仿真器的命令行选项,补充一点:

To summarize (and clarify), in Eclipse, go to "Debug Configurations". You can find that in the drop-down under the "debug" icon. Select "target", and select a preferred emulator target to launch. Then under "additional emulator command line options," add this:

-partition尺寸1024

然后关闭仿真器(和移除任何设备),并单击调试图标,这将启动您所选择的preferred模拟器。这是很重要的:Eclipse需要启动调试器,而不是AVD。

Then CLOSE the emulator (and remove any devices), and click the debug icon, which will launch the preferred emulator you selected. This is important: Eclipse needs to launch the debugger, not AVD.

这解决了这个问题对我来说。

That fixed the problem for me.