Solution: Android INSTALL_FAILED_INSUFFICIENT_STORAGE error
来源:互联网 发布:怎样打造淘宝爆款 编辑:程序博客网 时间:2024/06/07 10:11
1、实体机
The INSTALL_FAILED_INSUFFICIENT_STORAGE error is the bane of every Android developer's life. It happens regardless of app size, or how much storage is available. Rebooting the target device fixes the problem briefly, but it soon comes back. There are hundreds (if not thousands) of message board posts from people asking why the problem occurs, but the folks at Google are frustratingly silent on the issue.
There is a simple workaround. If your test device is running Android 2.2 or later then add theandroid:installLocation attribute to your application's manifest file, with the value "preferExternal". This will force the app to be installed on the device's external storage, such as a phone's SD card.
For example:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.andrewsmith.android.darkness" android:installLocation="preferExternal"
This is more of a band-aid than a fix, and it may not be ideal if you want your finished app to install on the device's internal memory. But it will at least make the development process a lot less frustrating.
2、虚拟机
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 any doubt then see all comment of this question
- Solution: Android INSTALL_FAILED_INSUFFICIENT_STORAGE error
- Android Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- Android Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- Android Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- Android Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- Android Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- android error INSTALL_FAILED_INSUFFICIENT_STORAGE
- [Android 调试] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- Android Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE解决办法
- Android模拟器报Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE错误
- android开发解决Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- Android开发出现错误:Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- Android X86 Compile error solution
- android 开发遇到的问题 :Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- 运行android项目时出现Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE错误!
- Android启动Run As是报 Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE错误
- Android 调试安装apk 报错 Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- 飞信好友发短信
- 飞信api操作指南
- eclipse快捷键大全
- 知人,我们都应该向曾兄好好学习
- 16个细节看透一个男人的性格
- Solution: Android INSTALL_FAILED_INSUFFICIENT_STORAGE error
- ea认证课程的内容
- 架构能力
- 架构风格和架构模式速览
- 软件架构风格整理(2 调用/返回) .
- 软件架构风格整理(3 独立构件风格 4 虚拟机风格)
- 软件架构风格整理(5 仓库风格 6复制风格) .
- 电子商务系统
- python_使用sched实现定时功能