Fixed
Status Update
Comments
im...@google.com <im...@google.com> #2
This was broken by 3bca759a5ff08352de831bb1e9b61b1ec2b3362d.
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
im...@google.com <im...@google.com> #3
Almost 2 months later and this is still broken
lu...@google.com <lu...@google.com>
lu...@google.com <lu...@google.com> #4
Since there is no progression, I wanted to share our quick-fix for the issue.
#sdkmanager --package_file=${PATH_WORKSPACE}/packages
while read p; do echo "y" | sdkmanager "${p}"; done <${PATH_WORKSPACE}/packages
#sdkmanager --package_file=${PATH_WORKSPACE}/packages
while read p; do echo "y" | sdkmanager "${p}"; done <${PATH_WORKSPACE}/packages
lu...@google.com <lu...@google.com> #5
jb...@google.com What is the update on this?
lu...@google.com <lu...@google.com>
jr...@squareup.com <jr...@squareup.com> #6
What is the status of this item?
lu...@google.com <lu...@google.com> #7
This has been fixed on master today (internal ref: ag/2945015) and will be available in the next SDK release.
je...@gmail.com <je...@gmail.com> #8
Any ETA on next release?
Description
-keepclassmembers class **.R$* {
public static <fields>;
}
This means that all fields in R class will be kept in the final APK. Considering these are not used in the code (they have been inlined), this is wasteful.
The only user of these constants is the resource shrinker, which uses R class to find all IDs, and it tries to match them with the int constants in the code. However, list of names + IDs can be extracted before shrinking runs, thus avoiding the need to keep R class fields.