安装错误:INSTALL_FAILED_INSUFFICIENT_STORAGE?运行模拟器期间
[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!
编辑 我在模拟器上解决了,但在设备上解决了,解决方案是什么? 我遵循这个问题,但有时这对我来说不是最好的主意。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
您需要增加模拟器的虚拟内存
如何增加模拟器的虚拟内存
,然后尝试安装您的apk,
如果出现任何错误,请参阅此问题
you need to increase virtual memory of emulator
How to increase virtual memory of emulator
after then try to install your apk
if you got any error then see conversation of this question
我在开发时遇到了同样的问题,但是在我的手机(而不是模拟器)上。
为了在发生这种情况时解决它,我进入“设置”->“应用程序”->“管理应用程序”->“我正在使用的应用程序
然后按强制关闭,之后就可以了。对我来说,这个错误每 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
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"
如果您将应用程序安装到模拟器,那么有时会发生这种情况。
我面临同样的问题,我已经用我的方式解决了它。
在我的问题中,我已将应用程序安装在大于 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.
以防万一它对其他人有帮助..我通过擦拭模拟器解决了这个问题,然后重新启动
Just in case it helps for others.. I resolved it by wiping the emulator, and then restart
我点击以下链接,它可以更好地解决我的问题。
http://google-androidlovers.blogspot.com/2011/ 07/solution-android-installfailedinsuffici.html
Android 上 INSTALL_FAILED_INSUFFICIENT_STORAGE 错误的解决方案
http://forum.xda-developers.com/showthread.php?t=1201156
http://groups.google.com/group/android-developers/browse_thread/thread/41852900bd603070/583943d91dc9f754?lnk=gst&q=insufficient+memory&pli=1
I follow following link, which has better to solve my problem.
http://google-androidlovers.blogspot.com/2011/07/solution-android-installfailedinsuffici.html
Solution to INSTALL_FAILED_INSUFFICIENT_STORAGE error on Android
http://forum.xda-developers.com/showthread.php?t=1201156
http://groups.google.com/group/android-developers/browse_thread/thread/41852900bd603070/583943d91dc9f754?lnk=gst&q=insufficient+memory&pli=1