Android安装失败 - 空间不足 - 错误代码-4

时间:2013-02-05 17:38:04

标签: android installation apk

我的一位用户报告说他不能再安装我的应用了。他卸载了应用程序,当他尝试重新安装时,他收到了“没有足够的存储空间”这样的错误。

根据他的描述,无论大小如何,他都可以安装其他应用程序(我的.apk大约是1MB)。

用户正在运行Android 2.3.6。如果他使用.apk我发送给他而不是使用谷歌播放,则会出现同样的错误。

这是他发给我的LogCat的摘录,app name被com.myApp.Foo替换

Money Quote:“1.packageInstalled:”com.myApp.Foo“的软件包安装状态为-4”

D/Finsky (29919): [23] 7.run: Enqueued com.myApp.Foo as content://downloads/my_downloads/610
D/Finsky (29919): [1] DownloadImpl.setState: com.myApp.Foo from QUEUED to DOWNLOADING.
D/Finsky (29919): [1] DownloadQueueImpl.onStart: com.myApp.Foo: onStart
D/Finsky (29919): [1] DownloadQueueImpl.notifyProgress: com.myApp.Foo: onProgress 0/-1 Status: 190.
D/DownloadManager(29988): mime type is null
D/Finsky (29919): [1] DownloadQueueImpl.notifyProgress: com.myApp.Foo: onProgress 0/-1 Status: 192.
I/DownloadManager(29988): Initiating request for download 610
D/ConnectivityService( 226): in getAllNetworkInfo: mNetworksDefined=9, result count=6
I/DownloadManager(29988): Initiating request for download 610
D/ConnectivityService( 226): in getAllNetworkInfo: mNetworksDefined=9, result count=6
W/ActivityManager( 226): Unable to start service Intent { act=com.android.providers.downloads.action.Dispatch typ=application/vnd.android.package-archive (has extras) }: not found
D/Finsky (29919): [1] DetailsDataBasedFragment.rebindViews: Page [class=DetailsFragment] loaded in [9465 ms] (partial? false)
D/LatinKeyboard( 307): updateF1Key-mIsAlphaKeyboard: true ,mHasVoiceButton: true
D/Finsky (29919): [1] DetailsDataBasedFragment.rebindViews: Page [class=DetailsFragment] loaded in [9755 ms] (partial? true)
W/Finsky (29919): [1] CarrierParamsAction.run: Saving carrier billing params failed.
D/Finsky (29919): [1] GetBillingCountriesAction.run: Skip getting fresh list of billing countries.
E/Finsky (29919): [32] FileBasedKeyValueStore.delete: Attempt to delete 'params57V5ZrspGc4ULD9_G0atJg' failed!
D/Finsky (29919): [1] DownloadBroadcastReceiver.onReceive: Intent received at DownloadBroadcastReceiver
D/Finsky (29919): [1] DownloadImpl.setState: com.myApp.Foo from DOWNLOADING to SUCCESS.
D/Finsky (29919): [1] DownloadQueueImpl.onComplete: com.myApp.Foo: onComplete
D/Finsky (29919): [1] DownloadQueueImpl.remove: Download com.myApp.Foo removed from DownloadQueue
I/ActivityManager( 226): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=30008 uid=10019 gids={1015, 2001}
I/ActivityManager( 226): Process de.gdp (pid 29754) has died.
W/ActivityManager( 226): Scheduling restart of crashed service de.gdp/com.urbanairship.push.PushService in 5000ms
I/ActivityManager( 226): Low Memory: No more background processes.
W/ActivityManager( 226): No content provider found for:
W/ActivityManager( 226): No content provider found for:
D/PackageParser( 226): Scanning package: /data/app/vmdl2041276702.tmp
D/Finsky (29919): [8] 1.packageInstalled: Package install status for "com.myApp.Foo" is -4
D/Finsky (29919): [1] InstallerTask.cancelCleanup: Cancel running installation of com.myApp.Foo
I/TiApplication(30017): (main) [0,0] checkpoint, app created.
I/ActivityManager( 226): Process com.android.defcontainer (pid 30008) has died.
I/ActivityManager( 226): Low Memory: No more background processes.

2 个答案:

答案 0 :(得分:1)

我认为这个问题不在你的意思 - 听起来像是Android客户端。

我怀疑您安装的一个或多个客户端正在占用缓存或数据存储空间。让他/她去设置 - >应用 - >通过选择应用程序,然后选择“清除数据”和“清除数据”,可以获得列表中一个或多个顶级应用的全部(或等效于2.3.6)和清晰数据。 “清除缓存”。

他/她完成此操作后,安装应该正常工作。

答案 1 :(得分:-1)

选择您的项目 - >右键单击 - >刷新 - >然后选择项目标签 - >选择清洁 - >运行你的应用程序

(在发布问题第一次冲浪相关问题之前只有一个建议)