Android – Can’t update the app in Google Play: aapt error

androidantgoogle-play

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

UPLOAD NEW APK TO PRODUCTION

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

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.

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

Best Answer

It's now acknowledged by Google:

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.

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-developer/known-issues/24493

Related Topic