Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing drawables in Play Console 8.2.005 APK are referenced as APKTOOL_DUMMY after decompiling #1773

Closed
davide1293 opened this issue Apr 17, 2018 · 2 comments

Comments

@davide1293
Copy link

Informations

  1. Apktool version: 2.3.2
  2. Operating System: Windows
  3. APK From: either Playstore or APKMirror

Steps to Reproduce

apktool.jar d playconsole8.2.apk

APK

https://www.apkmirror.com/apk/google-inc/google-play-developer-console/google-play-developer-console-8-2-005-release/google-play-console-8-2-005-android-apk-download/

Description

This is probably due to something new in this APK by Google. Sharing it as it might be interesting to look at.
drawable-xhdpi-v4, drawable-xxhdpi-v4, drawable-xxxhdpi-v4 and other folders seem to be missing from res/ in the original APK. The size has in fact dropped by almost 2.4 MB from the previous APK.
After decompiling, layouts point to APKTOOL_DUMMY values. An example can be seen here: https://imgur.com/a/S9uk2

This is the content of res/values/drawables.xml: https://hastebin.com/sanavosomo.scala

Using systrace to try and track down some of the missing drawables returns paths that though can't be seen in the APK, as they include the missing folders:

  • res/drawable-xxhdpi-v4/quantum_ic_clear_white_24.png
  • res/drawable-xxhdpi-v4/ic_star_color.png
  • res/drawable-xxhdpi-v4/ic_star_grey.png

Thanks for reading!

@kswOok
Copy link

kswOok commented Apr 24, 2018

i met this problem ,too

@iBotPeaches
Copy link
Owner

As you've seen with your research, there is nothing Apktool can do here. The reference resource does not exist for Apktool to find. To allow the application to work, apktool substitutes a dummy resource in place for that resourceId. That is the boolean false attributes you see.

I believe this is a "no-fix", there is nothing Apktool can do here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants