我无法将特定应用程序上传到 Play 商店。我正在使用 Flash Builder 4.6 对其进行打包。
上传完成后,我收到消息“服务器无法处理您的 apk。再试一次。” 在 3 天的时间里,我用不同的配置尝试了大约 20 次。没运气。
问题一定出在apk上,因为我成功上传了另一个test.apk文件来检查服务器。
我尝试了以下方法:
1)删除标签(没有,所以没关系)
2) 运行 aapt dump badging 并修复错误(没有)
3) 从另一个上传的 apk 复制清单并替换相关数据(包、名称等)
app.xml 文件的 android 清单部分。
<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>
有人有任何理论吗?在这个阶段完全没有想法......
干杯!
编辑: aapt d 徽章的输出:
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'