人们无法在 Android Market 中下载我们的特定产品 [英] People can't download our specific product in Android Market

查看:13
本文介绍了人们无法在 Android Market 中下载我们的特定产品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们最近在 Android Market 上发布了我们的游戏,但遇到了一个重大问题.我们收到来自世界各地的人们的电子邮件和错误报告,称他们无法下载我们的游戏.

We've recently released our game onto Android Market but are suffering from a major issue. We are getting emails and bug reports from people all over the world that they aren't able to download our game.

在网上搜索有类似问题的人,我们发现有些人遇到了类似的问题,但他们根本无法从 Market 下载任何应用程序.我们一直在处理的人可以下载除我们的游戏之外的所有其他内容.报告问题的人在其内部和外部设备上都有足够的内存.

Searching the web for people with similar issues we've found that some are experiencing similar problems, though they can't download any applications at all from the Market. The people we have been dealing with can download everything else except for our game. The people reporting issues have enough memory on their devices both internal and external.

有人知道问题出在哪里吗?

Does anyone have any clue to what the problem can be?

最好的问候,亚历克斯

由于问题与下载有关,我们一直在推测它是我们拥有的 Android 清单文件.

Since the problem is download related we've been speculating in that its the Android Manifest file we've have.

当用户从 Android Market 下载应用程序时,首先会发生什么?因为当我们尝试下载我们的产品时,下载开始",然后错误消息下载失败"在栏上闪烁.

What is the first thing that happens when a user downloads an application from Android Market? Because when we try downloading our product the download "starts" and then the error message "Download Unsuccessful" flashes over the bar.

我们的产品是付费应用程序,交易成功,但当用户尝试下载时却收到错误消息.

Our product is a paid application and the transaction is successful but then when the user tries to download it they get the error.

似乎错误是在我们提交第一次更新后开始发生的,虽然很小而且没有任何游戏改变我真的不明白这会如何影响市场行为.

It seems as if the error started occurring after we submitted our first updated, though minor and not any game changing I really don't understand how this can effect the Market behavior.

推荐答案

47MB!这是我的三星 Galaxy S 所说的:

It's 47MB! Here's what my Samsung Galaxy S says:

D/DownloadManager( 2973): download aborted - not enough free space in internal storage
D/vending ( 6634): [174] DownloadManagerBroadcastReceiver.handleDownloadCompletedAction(): Got a download completed intent.
I/vending ( 6634): [174] DownloadManagerBroadcastReceiver.startNextDownload(): Found Paused URI null
I/vending ( 6634): [174] DownloadManagerBroadcastReceiver.startNextDownload(): No more paused downloads.
I/vending ( 6634): [174] DownloadManagerBroadcastReceiver.getDownloadStatus(): Unexpected status from download - 498
W/vending ( 6634): [174] DownloadManagerBroadcastReceiver.handleDownloadCompletedAction(): Couldn't find pathname for completed download URI
: content://downloads/download/188 -- assuming the download failed.
D/vending ( 6634): [174] LocalAssetDatabase.notifyListener(): 9122500792911627655 / DOWNLOAD_FAILED
E/DataRouter( 2577): [*] Received suspend/ resume event but DUN is not up so neglect

不足为奇的内部存储空间不足.

Not enough internal storage space, unsurprisingly.

您的 installLocation 设置为什么?应该是首选外部(参见 http://developer.android.com/指南/主题/清单/manifest-element.html#install)

What is your installLocation set to? Should be preferExternal (see http://developer.android.com/guide/topics/manifest/manifest-element.html#install)

稍后添加

天哪,这太糟糕了……

您可以在此处浏览 Android 下载管理器的源代码:http://www.google.com/codesearch/p?hl=en#UMpkw0xvvPU/src/com/android/providers/downloads/Helpers.java

You can browse the source code for Android's download manager here: http://www.google.com/codesearch/p?hl=en#UMpkw0xvvPU/src/com/android/providers/downloads/Helpers.java

推断一下,你可以做它的工作来找出下载缓存目录中还剩下多少空间:

Extrapolating a bit you can do what it does to find out how much space is left in the download cache directory:

File base = Environment.getDownloadCacheDirectory();
long bytesAvailable = getAvailableBytes(base);

public static long getAvailableBytes(File root) {
    StatFs stat = new StatFs(root.getPath());
    // put a bit of margin (in case creating the file grows the system by a few blocks)
    long availableBlocks = (long) stat.getAvailableBlocks() - 4;
    return stat.getBlockSize() * availableBlocks;
}       

我的三星 Galaxy S 报告此缓存中只有 30MB 可用,因此存在问题.然而,手机的整体内部存储空间很大……我至少有 1.5GB 可用空间.

My Samsung Galaxy S reports just 30MB is free in this cache, hence the problem. The phone's overall internal storage however is enormous... I have at least 1.5GB free.

显然有一些下载缓存限制政策在起作用.很烦你.

Clearly there is some download cache limiting policy at work. Very annoying for you.

一些手机的/cache 中的可用字节数

三星 Galaxy S:30756KB

Samsung Galaxy S : 30756KB

Nexus One:94352KB

橙色旧金山:38988KB

这篇关于人们无法在 Android Market 中下载我们的特定产品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆