开发者

Android Marketplace Error: "The server could not process your apk. Try again."

I have an updated apk - tested successfully on various devices and simulator instances - with the following manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.myCompany.appName"
      android:versionCode="2"
      android:versionName="1.0.1">      
    <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="5" />
    <uses-permission android:name="android.permission.INTERNET" />
    <supports-screens
          android:largeScreens="true"
          android:normalScreens="true"
          android:smallScreens="true" />
    <application android:icon="@drawable/icon" android:label="@string/icon_name" android:debuggable="false">
        <activity android:name=".myActivity" android:configChanges="keyboardHidden|orientation">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest> 

When I post to Android Marketplace as an upgrade to my existing 1.0 app, I get the aforementioned ambiguous message:

"The server could not process your apk. Try again."

I've searched elsewhere for this message in hopes of finding out what might be happening, to no avail. (A popular suggestion is to move the uses-sdk element to the top of the manifest, but as you can see it's already at the top.)

Clues welcome/appreciated.

Update: I just tried to upload the same file again. Now I get a new message:

The new apk's versionCode (2) in AndroidManifest.xml must be higher than the old apk's versionCode (2). The server could not process your apk. Try again.

Soooo Marketplace did get my upgraded apk after all? (The very first accepted apk's versionCode was 1, so this update was of course bumped to 2.) Confused …

Bumping it up to 3 a开发者_JS百科nd trying again. Surprise surprise, I get the original "could not process" error all over again. Going in circles. Hmm ... :(

Nuther Update: If I exit and re-enter the Marketplace page, now it shows that the app has been uploaded! Except there's no app icon. Curiouser and curiouser ... and this is all happening with a cache-cleared (standards-friendly) browser to boot.

So - do I trust the upload? Or start over ... with versionCode="4"? All I want is to get a solid "Upload successful, here's the icon, ready to publish" type of response.


Run this tool, you can find this tool in SDK Platform Tools

aapt dump badging <path_to_exported_.apk>

and fix the errors. I receive this from google support.


I had the same problem. In my case the reason was empty configuration tag in the manifest: <uses-configuration></uses-configuration>


In the end, I removed the upgrade ... which ended up removing the upgrade from the queue and unpublishing v1.0. I quickly republished v1.0 (which was still present in the Marketplace), then posted the upgrade again.

This time it worked. No need to bump versionCode up to 4. Icon was visible too. Didn't do anything differently.

Update published. Yaaaaay!

File this under unsolved mysteries for now. Leaving this here in case others run in to the same problem.

Update: See Nate Bross's comment to the original question. Possibly some Marketplace server hiccups. Nothing official from Google yet, but it looks like I'm not the only one who ran into upgrade issues today.


I've found that the Market is usually experiencing problems. Visit the Known Issues page for Market Developers:

https://support.google.com/androidmarket/developer/bin/static.py?hl=en&page=known_issues.cs


I had the same error. Deactivating the original APK and then uploading the update helped.


In my case it was the Chrome Browser for Linux. After uploading with Firefox everything worked just fine.


I experienced the same problem that is, "The server could not process your apk. Try again" when i tried to upload .apk file in Google Play by last week (from India). After a long struggle I successfully uploaded my .apk when i did my upload from one of my friend's machine, (who is residing at US) through remote desktop.I think that the cause would be the location where you do your upload, that is, your nearest Google Server may not have enough space or in some server problem or in some server environmental limitations. Hope it will help you guys...


i have problems too with the publisher page

...The server could not process your apk file ...

In the app overview it says (in red) that there is a draft of the new version but in "APK-Files" tab the new version does not show up.

From time to time the app does not show up in the app overview at all.

Update: the problems i experienced where solved the next day.


I was struggling with this exact issue. I was using the old style google developer web interface. Then I decided to click "try the new design" to switch to the newer one. Then when I attempted an apk upload, it failed, but at least this time I got a detailed error report.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜