Google Play:您需要检查APK内的图标,因为它无效 [英] Google Play: You need to check the icon inside your APK because it is not valid

查看:1021
本文介绍了Google Play:您需要检查APK内的图标,因为它无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Google Play开发者控制台中上传APK文件时出现以下错误:


上传失败



您需要检查APK内的图标,因为它无效。


所有答案所以我发现似乎表明你必须将Vector Drawable图标转换为PNG才能摆脱这个错误。

为什么这是必要的?



编辑:



将矢量绘图工具的全部内容避免手动生成PNG应用程序图标到PNG实际上有帮助。但我仍然不明白为什么这是必要的。是不是Android Studio应该在构建时生成PNG?

解决方案

开发人员控制台在内部发生故障时会抛出此类错误。看起来这些问题在几个小时内得到解决。 我不是目前唯一一个遇到它的人。



<尝试将更新后的apk上传到Google Play商店时出现同样的错误。我在我的项目和我的apk中检查了所有可能,但从未发现任何问题。经过数小时的搜索,其中包括尝试在另一个未修改的已部署项目上碰撞versionCode,同时发生同样的错误,我开始怀疑我的计算机是否损坏,或者Google Play Developer Console发疯。我重试了上传我的apk几个小时后,我做了第一次上传,神奇的是,错误消失了。



真正的东西拒绝我们自己的错误真的很糟糕这是破坏的是开发者控制台,但知道,它写在这里。我希望它有帮助。


I'm getting the following error when uploading an APK file in Google Play Developer Console:

Upload failed

You need to check the icon inside your APK because it is not valid.

All answers on SO I've found seem to suggest that you have to convert Vector Drawable icons to PNGs to get rid of this error.

Why is that necessary? Isn't it the whole point of Vector Drawables to avoid generating PNGs manually?

Edit:

Converting my app icon to PNG actually did help. But I still can't understand why is this necessary. Isn't Android Studio supposed to generate PNGs at build time?

解决方案

The Developer Console throws such errors when it's internally down/broken. It seems such issues are fixed within a few hours. I wasn't the only one experiencing it at this time.

I had the same error when trying to upload my updated apk to the Google Play Store. I checked all I could in my project and my apk but never found any issue. After hours of search, which included trying bumping the versionCode on another unmodified, deployed project while having the same error, I started to have doubts on whether my computer was somehow corrupted, or if the Google Play Developer Console went crazy. I retried uploading my apk several hours after the first upload I did, and magically, the error was gone.

It's really bad to reject the fault on ourselves when the real thing that is broken is the Developer Console, but know, it's written here. I hope it helps.

这篇关于Google Play:您需要检查APK内的图标,因为它无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆