Android Marketplace 错误:“服务器无法处理您的 apk。再试一次。

发布于 2024-08-21 22:40:41 字数 1907 浏览 6 评论 0原文

我有一个更新的 apk - 在各种设备和模拟器实例上成功测试 - 具有以下清单:

<?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> 

当我将其作为现有 1.0 应用程序的升级发布到 Android Marketplace 时,我收到上述模糊消息:

“服务器无法处理您的 apk。再试一次。”

我在其他地方搜索了此消息,希望找出可能发生的情况,但无济于事。(一个流行的建议是将 uses-sdk 元素移至顶部清单,但正如您所看到的,它已经位于顶部。)

欢迎/赞赏线索

更新:我刚刚尝试再次上传相同的文件,现在我得到了一个新文件。信息:

新apk的版本代码(2)在 AndroidManifest.xml必须更高 比旧 apk 的 versionCode (2) 更高。 服务器无法处理您的 apk。 再试一次。

Soooo Marketplace 到底有没有获得我升级后的 apk? (第一个接受的 apk 的 versionCode 是 1,所以这次更新当然会增加到 2。) 困惑……

将其增加到 3,然后重试。令人惊讶的是,我再次收到原来的“无法处理”错误。兜圈子。嗯... :(

Nuther 更新: 如果我退出并重新进入 Marketplace 页面,现在它显示该应用程序已上传!除了没有应用程序图标。更好奇......并且这一切都是在清除缓存(标准友好)的浏览器启动时发生的。

所以 - 我是否信任上传?或者用 versionCode =“4”重新开始? ,这是图标,准备发布”类型的响应。

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 and 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(9

別甾虛僞 2024-08-28 22:40:41

中找到该工具

运行该工具,您可以在SDK Platform Tools aapt dump badging

并修复错误。我从谷歌支持收到这个。

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.

最好是你 2024-08-28 22:40:41

我也有同样的问题。就我而言,原因是清单中的配置标记为空:
<使用配置>

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

弥繁 2024-08-28 22:40:41

最后,我删除了升级...最终从队列中删除了升级并取消发布 v1.0。我很快重新发布了 v1.0(仍然存在于 Marketplace 中),然后再次发布了升级。

这次成功了。无需将版本代码提高到 4。图标也可见。没有做任何不同的事情。

更新已发布。呀呀呀!

现在将其归入未解之谜。将其留在这里以防其他人遇到同样的问题。

更新:请参阅 Nate Bross 对原始问题的评论。可能是一些 Marketplace 服务器出现问题。谷歌还没有发布任何官方消息,但看起来我并不是今天唯一遇到升级问题的人。

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.

木格 2024-08-28 22:40:41

我发现市场通常会遇到问题。请访问市场开发者的已知问题页面:

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

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

俯瞰星空 2024-08-28 22:40:41

我有同样的错误。停用原始 APK 然后上传更新会有所帮助。

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

情归归情 2024-08-28 22:40:41

就我而言,它是 Linux 版 Chrome 浏览器。使用 Firefox 上传后一切正常。

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

我要还你自由 2024-08-28 22:40:41

当我上周(来自印度)尝试在 Google Play 中上传 .apk 文件时,我遇到了同样的问题,即“服务器无法处理您的 apk。请重试”。
经过长时间的努力我成功上传了我的.apk,当我通过远程桌面从我朋友的一台机器(居住在美国)上传时。我认为原因是位置你做你的上传,也就是说,你最近的谷歌服务器可能没有足够的空间或在某些服务器问题或在某些服务器环境限制。 希望对大家有帮助...

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...

陈独秀 2024-08-28 22:40:41

我的发布者页面也有问题

...服务器无法处理您的 apk 文件...

在应用程序概述中,它说(红色)有新版本的草稿,但在“APK 文件”选项卡中新版本不显示。

有时,该应用程序根本不会显示在应用程序概述中。

更新:我遇到的问题第二天就解决了。

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.

檐上三寸雪 2024-08-28 22:40:41

我一直在努力解决这个问题。我使用的是旧式的谷歌开发者网络界面。然后我决定点击“尝试新设计”来切换到较新的设计。然后当我尝试上传 apk 时,它失败了,但至少这次我得到了详细的错误报告。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文