简体   繁体   English

Android studio - play store - 上传失败 - 图标无效

[英]Android studio - play store - fails to upload - icon is not valid

The icon inside your apk or android app bundle is not valid您的 apk 或 android 应用程序包中的图标无效

This is the message that I am being shown, I am not sure of the reason, I had vector xml, in drawable for the icon of mic, which icon I converted to PNG and got that xml in layout tab, no functions were affected and app works fine though still issue of icon not valid is not solved It's my first app that I am uploading on play store, if anyone knows answer then please help这是我正在显示的消息,我不确定原因,我有矢量 xml,可绘制麦克风图标,我将哪个图标转换为 PNG 并在布局选项卡中得到 xml,没有功能受到影响并且应用程序工作正常,但图标无效问题仍未解决这是我在 Play 商店上传的第一个应用程序,如果有人知道答案,请帮助

Your Icon must feel the google requirements.你的图标必须能感受到谷歌的要求。 Google has rules for App Icons.谷歌有应用程序图标的规则。 Look below-往下看-

  • Final size: 512px x 512px最终尺寸:512px x 512px
  • Format: 32-bit PNG格式:32 位 PNG
  • Color space: sRGB色彩空间:sRGB
  • Max file size: 1024KB最大文件大小:1024KB
  • Shape: Full square – Google Play dynamically handles masking.形状:全方形 - Google Play 动态处理遮罩。 Radius will be equivalent to 20% of icon size.半径将等于图标大小的 20%。
  • Shadow: None – Google Play dynamically handles shadows.阴影:无 - Google Play 动态处理阴影。

Check the official docs for more info: Google Play icon design specifications查看官方文档了解更多信息: Google Play 图标设计规范

Edit: You have to add PNG file to all mipmap folder with name ic_launcher.png.编辑:您必须将 PNG 文件添加到名为 ic_launcher.png 的所有 mipmap 文件夹中。 That will create the launcher icon for your app.这将为您的应用程序创建启动器图标。

The file must be in mipmap, not the drawable folder, and must meet the google requirements该文件必须在 mipmap 中,而不是 drawable 文件夹中,并且必须符合 google 要求

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

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