People cannot upload our specific product to the Android Market.

We recently released our game on the Android Market, but suffered from a serious problem. We receive emails and error messages from people all over the world that they cannot download our game.

Searching the Internet for people with similar problems, we found that some of them are experiencing similar problems, although they generally cannot download applications from the market. The people we deal with can download everything else except our game. People reporting problems have enough memory on their devices, both inside and outside.

Does anyone know what could be the problem?

Best regards, Alex

Edit: Since the problem is with the download, we speculated that it has the Android manifest file that we have.

What happens when a user downloads an application from the Android Market? Because when we try to download our product, the download starts and then the error message “Download Unsuccessful” appears.

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

It seems that the error arose after we introduced our first updated, albeit insignificant and unchanging game, I really don’t understand how this can affect the behavior of the market.

+3
source share
2 answers

This is 47 MB! Here's what the 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, no wonder.

What is your installation kit installed in? Should be preferred to External (see http://developer.android.com/guide/topics/manifest/manifest-element.html#install )

ADD AFTER

Huh boy it sucks ...

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

By extrapolating the 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; } 

Only 30 MB is available in my Samsung Galaxy S cache, so that's the problem. However, the total internal storage of the phone is huge ... I have at least 1.5 GB of free space.

Obviously, there is some policy to limit the load cache at work. Very annoying for you.

Free bytes in / cache for multiple phones

Samsung Galaxy S: 30756KB

Nexus One: 94352KB

San Francisco Orange: 38988KB

+6
source

On March 5, 2012, Google announced a new resolution policy for up to two "extension files" of up to 2 gigabytes each. APK is still limited to 50 MB. Here is the announcement:

http://android-developers.blogspot.in/2012/03/android-apps-break-50mb-barrier.html

Since downloading such additional files occurs separately from downloading your APK, it seems likely that you could solve your problem by moving a piece of your APK to an extension file to save the size of the APK in the smallest download that you expect (for example, 30 MB).

0
source

All Articles