Skip to content

Instantly share code, notes, and snippets.

@xrubioj
Last active March 28, 2018 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xrubioj/5e92cfa9dbb71d909a400badbbc89088 to your computer and use it in GitHub Desktop.
Save xrubioj/5e92cfa9dbb71d909a400badbbc89088 to your computer and use it in GitHub Desktop.
Android Studio 3.0 to 3.1 resource size changes

The two APKs are generated with:

  • Android Studio 3.0 (Gradle Plugin 3.0.1, Gradle 4.1) and
  • Android Studio 3.1 (Gradle Plugin 3.1.0, Gradle 4.4)

Apparently, size difference in the resources comes from binary XMLs now including the namespace attributes and "xmlns:*" attributes, that were previously stripped.

See the attached image for the differences for activity_main.xml.

Attached APKs:

This file has been truncated, but you can view the full file.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment