且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

谷歌玩:"服务器无法处理您的apk。再试一次&QUOT。

更新时间:2023-08-20 22:59:58

更​​新:谷歌接触Play开发者支持之后,我发现这个问题....

 我的图标文件是太大了!

我的图标分别约为140K每一个,并尽快我把它们减少到10k它完美!

I have been unable to upload a specific application to the Play store. I'm using Flash Builder 4.6 to package it.

After the upload is complete I get the message "The server could not process your apk. Try again." I've tried about 20 times with different configurations over the course of 3 days. No luck.

The problem must be with the apk because I successfully uploaded another test.apk file to check the server.

I have tried the following:

1) Delete tag (didn't have one so that's okay)

2) Run aapt dump badging and fixed errors (there were none)

3) Copied the manifest from another uploaded apk and just replaced the relevant data (package, name etc.)

The android manifest part of the app.xml file.

 <android>
    <colorDepth>16bit</colorDepth>
    <manifestAdditions><![CDATA[
        <manifest android:installLocation="preferExternal">
            <!--See the Adobe AIR documentation for more information about setting Google Android permissions-->
            <!--Removing the permission android.permission.INTERNET will have the side effect
    of preventing you from debugging your application on your device-->
            <uses-permission android:name="android.permission.INTERNET"/>
            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
            <!--<uses-permission android:name="android.permission.READ_PHONE_STATE"/>-->
            <!--<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>-->
            <!--The DISABLE_KEYGUARD and WAKE_LOCK permissions should be toggled together
    in order to access AIR's SystemIdleMode APIs-->
            <!--<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>-->
            <!--<uses-permission android:name="android.permission.WAKE_LOCK"/>-->
            <!--<uses-permission android:name="android.permission.CAMERA"/>-->
            <!--<uses-permission android:name="android.permission.RECORD_AUDIO"/>-->
            <!--The ACCESS_NETWORK_STATE and ACCESS_WIFI_STATE permissions should be toggled
    together in order to use AIR's NetworkInfo APIs-->
            <!--<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>-->
            <!--<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>-->
        </manifest>

    ]]></manifestAdditions>
</android>

Anyone have any theories? Totally out of ideas at this stage...

Cheers!

EDIT: Output of aapt d badging:

package: name='air.com.tspoon.BF3Loadouts' versionCode='1000000' versionName='1.0.0'
application-label:'BF3 Tactics'
application-label-ja:'BF3 Tactics'
application-label-de:'BF3 Tactics'
application-label-nl:'BF3 Tactics'
application-label-pl:'BF3 Tactics'
application-label-ko:'BF3 Tactics'
application-label-fr:'BF3 Tactics'
application-label-tr:'BF3 Tactics'
application-label-cs:'BF3 Tactics'
application-label-es:'BF3 Tactics'
application-label-it:'BF3 Tactics'
application-label-pt:'BF3 Tactics'
application-label-ru:'BF3 Tactics'
application-label-sv:'BF3 Tactics'
application-label-zh_CN:'BF3 Tactics'
application-label-zh_TW:'BF3 Tactics'
application-icon-120:'res/drawable-ldpi/icon.png'
application-icon-160:'res/drawable-mdpi/icon.png'
application-icon-240:'res/drawable-hdpi/icon.png'
application: label='BF3 Tactics' icon='res/drawable-mdpi/icon.png'
launchable-activity: name='air.com.tspoon.BF3Loadouts.AppEntry'  label='BF3 Tactics' icon=''
sdkVersion:'8'
targetSdkVersion:'14'
uses-permission:'android.permission.INTERNET'
uses-permission:'android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission:'android.permission.READ_EXTERNAL_STORAGE'
uses-implied-permission:'android.permission.READ_EXTERNAL_STORAGE','requested  WRITE_EXTERNAL_STORAGE'
uses-feature:'android.hardware.touchscreen'
uses-implied-feature:'android.hardware.touchscreen','assumed you require a touch screen unless explicitly made optional'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--' 'ja' 'de' 'nl' 'pl' 'ko' 'fr' 'tr' 'cs' 'es' 'it' 'pt' 'ru' 'sv' 'zh_CN' 'zh_TW'
densities: '120' '160' '240'
native-code: 'armeabi-v7a'

Update: After contacting Google Play Developer support I found out the issue....

My icon files were too big!

My icons were about 140k each, and as soon as I reduced them to 10k it worked perfect!