安装错误:INSTALL_FAILED_INSUFFICIENT_STORAGE?运行模拟器期间

发布于 2024-11-25 09:14:15 字数 1234 浏览 1 评论 0 原文

[2011-07-22 16:33:02 - Today] ------------------------------
[2011-07-22 16:33:02 - Today] Android Launch!
[2011-07-22 16:33:02 - Today] adb is running normally.
[2011-07-22 16:33:02 - Today] Performing com.horror.android.today.myMain activity launch
[2011-07-22 16:33:02 - Today] Automatic Target Mode: launching new emulator with compatible AVD 'google09'
[2011-07-22 16:33:02 - Today] Launching a new emulator with Virtual Device 'google09'
[2011-07-22 16:33:10 - Today] New emulator found: emulator-5554
[2011-07-22 16:33:10 - Today] Waiting for HOME ('android.process.acore') to be launched...
[2011-07-22 16:34:07 - Today] HOME is up on device 'emulator-5554'
[2011-07-22 16:34:07 - Today] Uploading Today.apk onto device 'emulator-5554'
[2011-07-22 16:35:12 - Today] Installing Today.apk...
[2011-07-22 16:35:31 - Today] Installation error: **INSTALL_FAILED_INSUFFICIENT_STORAGE**
[2011-07-22 16:35:31 - Today] Please check logcat output for more details.
[2011-07-22 16:35:32 - Today] Launch canceled!

编辑 我在模拟器上解决了,但在设备上解决了,解决方案是什么? 我遵循这个问题,但有时这对我来说不是最好的主意。

[2011-07-22 16:33:02 - Today] ------------------------------
[2011-07-22 16:33:02 - Today] Android Launch!
[2011-07-22 16:33:02 - Today] adb is running normally.
[2011-07-22 16:33:02 - Today] Performing com.horror.android.today.myMain activity launch
[2011-07-22 16:33:02 - Today] Automatic Target Mode: launching new emulator with compatible AVD 'google09'
[2011-07-22 16:33:02 - Today] Launching a new emulator with Virtual Device 'google09'
[2011-07-22 16:33:10 - Today] New emulator found: emulator-5554
[2011-07-22 16:33:10 - Today] Waiting for HOME ('android.process.acore') to be launched...
[2011-07-22 16:34:07 - Today] HOME is up on device 'emulator-5554'
[2011-07-22 16:34:07 - Today] Uploading Today.apk onto device 'emulator-5554'
[2011-07-22 16:35:12 - Today] Installing Today.apk...
[2011-07-22 16:35:31 - Today] Installation error: **INSTALL_FAILED_INSUFFICIENT_STORAGE**
[2011-07-22 16:35:31 - Today] Please check logcat output for more details.
[2011-07-22 16:35:32 - Today] Launch canceled!

EDIT
I solved on emulator but on device , what is the solution?
I follow this question but sometimes thats not best idea for me.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

压抑⊿情绪 2024-12-02 09:14:15

您需要增加模拟器的虚拟内存

如何增加模拟器的虚拟内存

emulator -avd "Emulator Name" -partition-size 500

,然后尝试安装您的apk,

如果出现任何错误,请参阅此问题

you need to increase virtual memory of emulator

How to increase virtual memory of emulator

emulator -avd "Emulator Name" -partition-size 500

after then try to install your apk

if you got any error then see conversation of this question

十年九夏 2024-12-02 09:14:15

我在开发时遇到了同样的问题,但是在我的手机(而不是模拟器)上。

为了在发生这种情况时解决它,我进入“设置”->“应用程序”->“管理应用程序”->“我正在使用的应用程序
然后按强制关闭,之后就可以了。对我来说,这个错误每 4-5 次构建就会发生一次,但使用强制关闭策略使其可以忍受(我曾经重新启动手机)。

手机:索尼爱立信 Xperia Ray。
**安卓版本:4.0.3
开发环境:Eclipse Ingido

I've had the same problem but on my phone (not emulator) when developing.

To solve it when it happens I go into Settings->Applications->Manage Applications -> The app I'm working with
and press Force Close, after that it works. For me this error occurs every 4-5 build, but using the Force close strategy makes it bearable (I used to restart the phone).

Phone: Sony Ericsson Xperia Ray.
**Android Version: 4.0.3
Development Environment: Eclipse Ingido

撧情箌佬 2024-12-02 09:14:15

Android 虚拟设备默认仅提供 64M 用于存储 Android 应用程序。您可以通过重新启动模拟器并选择“擦除用户数据”标志来清理已安装的应用程序。

您还可以通过 avd 管理器 -> 永久编辑模拟数据分区大小模拟器名称->编辑->硬件->数据分区的理想大小=“2048”

An Android virtual device provides per default only 64M for the storaging Android applications. You can clean your installed application by re-starting the emulator and selecting the "Wipe user data" flag.

also you you can edit the emulation data partition size permanent through avd manager -> emulator name -> edit -> hardware -> Ideal size of data partition = "2048"

人间不值得 2024-12-02 09:14:15

如果您将应用程序安装到模拟器,那么有时会发生这种情况。
我面临同样的问题,我已经用我的方式解决了它。

在我的问题中,我已将应用程序安装在大于 10mb 的模拟器中。之后,我将在该模拟器上安装另一个应用程序并收到此错误。

解决方案:

我刚刚重新启动 Eclipse,它将擦除所有不需要的内存,并将刷新以安装新的应用程序。

注意:它仅适用于某些普通用途。就像安装另一个应用程序后出现错误一样。 。 。ETC。否则请遵循 CapDroid 的回答。
谢谢。

If You are Installing the application to the Emulator then Some times it happend.
I face same Problem and i have solve it by my way.

In my Problem, I have install the application in emulator that is larger as like more then 10mb. And After that, i am going to Install another Application to that emulator and got this error..

Sollution:

I have just Restart the Eclipse that will erace all unwanted Memory and will get refresh to install the new Application.

Note: Its only works for some Normal perpose. as like to get error after installing another application. . .etc. Otherwise follow CapDroid's answer.
Thanks.

奢欲 2024-12-02 09:14:15

以防万一它对其他人有帮助..我通过擦拭模拟器解决了这个问题,然后重新启动

在此处输入图像描述

Just in case it helps for others.. I resolved it by wiping the emulator, and then restart

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文