简体   繁体   English

将APK上传到Google Play时出错

[英]Error with Uploading APK to Google Play

Upload failed: 上传失败:

Your APK cannot be analyzed using 'aapt dump badging'. Error output:
to run aapt dump badging:
W/ResourceType(12713): Bad XML block: header size 28024 or total size 1702240364 is     larger than data size 3783
ERROR: AndroidManifest.xml is corrupt

This is the error I am getting when I attempt to upload an APK onto Google Play and am completely unsure of what to do. 这是我在尝试将APK上传到Google Play时完全不知道该怎么做的错误。 I have looked at other posts but am unable to fix my problem. 我看过其他帖子,但无法解决我的问题。 Any help is appreciated!! 任何帮助表示赞赏!

-- Moksh -莫克什

Is your apk run on emulator or device..? 您的APK是否在模拟器或设备上运行。 Clean and build your project again. 清理并再次构建您的项目。 Sign it with your very own keystore and then try to upload it. 使用您自己的密钥库对其进行签名,然后尝试上传。

Make sure following points are need to be taken care of while uploading file on android market 确保在Android Market上上传文件时需要注意以下几点

  • "android:versionCode" attribute from AndroidManifest.xml is proper. 来自AndroidManifest.xml "android:versionCode"属性正确。
  • "android:versionName" attribute from AndroidManifest.xml is proper. 来自AndroidManifest.xml "android:versionName"属性正确。
  • The package name is very unique,. 包名非常独特。 Because all the apps on android market are separated by the package. 因为android市场上的所有应用程序都被软件包分开。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM