2012-05-20 35 views
1

当我运行我的应用程序没有启动,并显示我控制台此消息:我得到了一个安装错误,不知道该怎么办

[2012-05-20 17:36:58 - TravelersDictionary] Installation error: 
INSTALL_FAILED_INSUFFICIENT_STORAGE 
[2012-05-20 17:36:58 - TravelersDictionary] Please check logcat output for more details. 
[2012-05-20 17:36:58 - TravelersDictionary] Launch canceled! 

我没有检查我的logcat但没有用红色写的东西。

这里是最后的5 logcat的消息:

05-20 14:37:36.520: D/ExchangeService(438): Received deviceId from Email app: androidc259148960 
05-20 14:37:36.520: D/ExchangeService(438): Reconciling accounts... 
05-20 14:37:48.555: W/ThrottleService(75): unable to find stats for iface rmnet0 
05-20 14:44:00.404: D/dalvikvm(75): GC_CONCURRENT freed 648K, 13% free 8475K/9735K, paused 12ms+11ms 
05-20 14:44:32.975: D/dalvikvm(170): GC_CONCURRENT freed 397K, 13% free 6241K/7111K, paused 8ms+7ms 

回答

1

你得到一个错误:Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE和错误说你没有在你的设备有足够的空间来安装应用程序,因此删除一些不需要的应用程序和其他数据,然后重试。

+0

我的应用尺寸在3.6 MB,这是否算过LARG? – user1283769

+0

@ user1283769它根本不是太大,但是可能您的设备已满数据,然后安装失败。清除一些空间并尝试重新安装。 –

+0

谢谢你,它的工作 – user1283769

1

看起来您的设备正在耗尽内部存储空间,通常安装应用程序的位置。你有两个选择。删除一些应用程序,或者,由于您正在开发,如果您的目标是API级别比8 (Android 2.2)大,您可以在AndroidManifest.xml文件中设置android:installLocation="preferExternal"Android将尝试安装在外部存储应用,作为医生说:

If you declare "preferExternal", you request that your application be installed on the external storage, but the system does not guarantee that your application will be installed on the external storage. If the external storage is full, the system will install it on the internal storage.

相关问题