Android 市场错误 : "The server could not process your apk. Try again."

标签 android marketplace

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

<?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 时,我收到上述不明确的消息:

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

我在别处搜索过此消息,希望找出可能发生的情况,但无济于事。 (一个流行的建议是将 uses-sdk 元素移动到 list 的顶部,但如您所见,它已经在顶部。)

欢迎/赞赏线索。

更新:我刚刚尝试再次上传相同的文件。现在我收到一条新消息:

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 确实终于得到了我升级后的 apk? (最先接受的 apk 的 versionCode 是 1,所以这次更新当然是撞到了 2。) 糊涂了……

将其提高到 3 并重试。令人惊讶的是,我再次得到原来的“无法处理”错误。兜圈子。嗯……:(

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

那么 - 我信任上传吗?或者重新开始......使用 versionCode="4"?我想要的只是获得可靠的“上传成功,这是图标,准备发布”类型的响应。

最佳答案

运行这个工具,你可以在SDK Platform Tools中找到这个工具

aapt dump badging <path_to_exported_.apk>

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

关于Android 市场错误 : "The server could not process your apk. Try again.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2274284/

相关文章:

java - Android 保存 EditText 并在下次应用打开时调用它

javascript - 将架构协议(protocol)更改为 http ://in WebView Android

cordova - 如何使PhoneGap Build应用程序支持Windows Marketplace中的更多语言?

windows-7 - Eclipse Indigo 市场问题——权限被拒绝(?)

c# - 应用程序列表图标的正确大小是多少?

android - 重新创建 ViewPager 中的 fragment

java - 如何获取文件名并显示在列表中

c# - AppHub 的报告工具

Android 卖家退款和取消 - 用户还能升级他们的应用吗?

android - 一旦我们通过 Android 应用程序登录,如何显示 facebook 个人资料的新闻提要?