Fixed
Status Update
Comments
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@google.com> #2
(Also needed for instant run.)
mu...@gmail.com <mu...@gmail.com> #4
Please help korun, AME Google play service dowenlode beta parcena kano ? Help korun
mu...@gmail.com <mu...@gmail.com> #5
Darun,ata onak valo searvice dai
...l like u.but aktu help korban?
...l like u.but aktu help korban?
sa...@gmail.com <sa...@gmail.com> #6
Show me automatically for developing services service
za...@gmail.com <za...@gmail.com> #7
Help
😊
😊
ad...@google.com <ad...@google.com> #8
This is supported by aapt2 using --emit-ids and --stable-ids.
de...@gmail.com <de...@gmail.com> #9
Please remove the note in the Android SDK documentation (here: https://developer.android.com/studio/build/shrink-code#shrink-resources ) which mentions that this is not yet possible and links here.
gh...@gmail.com <gh...@gmail.com> #10
Could you please explain how this option of --emit-ids and --stable-ids can be used from Android Studio?
In my case I see that after enabling resource shrinking, the layout files and other resources are shrunk but the resources.arsc file remains as is
In my case I see that after enabling resource shrinking, the layout files and other resources are shrunk but the resources.arsc file remains as is
Description
It would be really great if it could also support --input-text-symbols, to *read* these files, and use the id's found in those files for its assignments.
This has several uses in the tools:
(1) We will soon support resource shrinking at build time, where we remove not just the user's own unused resources but any resources from library projects too:
Right now the resource shrinker will only remove non-value files, since it can reach into the .ap_ file and delete those directly. But in the future, to support removing value files as well, it would be great to run aapt a second time and tell it which id's to use, matching exactly the id's it assigned the first time when processing all the resources (prior to compilation and proguarding).
(2) To support more incremental operation of aapt, in the IDE we'd like to preassign id's to aapt, where we put gaps into the sequence of numbers -- or we can assign newly added resources in increasing order, such that while working debug mode, there is less change, which means less recompilation.