无法在 Google Play 中更新我的应用:aapt 错误 [英] Can't update my app in Google Play: aapt error

查看:37
本文介绍了无法在 Google Play 中更新我的应用:aapt 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,当我尝试上传我的应用更新时,我从 Google Play 控制台收到了这个:

Today when I tried to upload an update of my app, I got this from Google Play console:

上传新的 APK 以进行生产

UPLOAD NEW APK TO PRODUCTION

上传失败 无法使用aapt dump badging"分析您的 APK.错误输出: Failed to run aapt dump badging: E​​RROR getting无法找到元数据的android:value"属性:属性

Upload failed Your APK cannot be analyzed using 'aapt dump badging'. Error output: Failed to run aapt dump badging: ERROR getting 'android:value' attribute for meta-data:attribute could not be found

我之前可以正常上传.我没有在 AndroidManifest.xml 中做任何改变.该应用程序是通过 ant 构建的.我也尝试再次构建它,即使使用最后一个已知良好的代码,也会出现同样的错误.

I can upload normally before. I haven't made any change in AndroidManifest.xml. The app is built via ant. I also tried building it again, even with the last-known-good code, the same error occurs.

我应该向 Google Play 团队报告这个问题,还是 Google Play 的一个已知问题?有什么解决办法吗?

Should I report this to Google Play team, or is it a known issue of Google Play? Is there any work around?

推荐答案

Google 现已承认:

It's now acknowledged by Google:

一些开发人员报告看到​​错误无法运行 aapt 转储徽章:错误获取元数据的 'android:value' 属性:无法找到属性"尝试上传他们的 .apk 时.

Some developers have reported seeing the error "Failed to run aapt dump badging: ERROR getting 'android:value' attribute for meta-data:attribute could not be found" when attempting to upload their .apk.

我们正在努力解决这个问题.同时,您可以尝试添加android:value"到缺少该属性的任何元数据清单属性.请参阅 API 指南 - 了解更多信息.

We're working on solving this problem. In the meantime, you can try adding the "android:value" to any meta-data manifest property that lacks that attribute. See API Guides - for more information.

https://support.google.com/googleplay/android-开发人员/已知问题/24493

这篇关于无法在 Google Play 中更新我的应用:aapt 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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