Status Update
Comments
ch...@google.com <ch...@google.com> #2
ch...@google.com <ch...@google.com> #3
Actually these transforms are only ~40% of the time spend in there, but it's still a hot spot that we should resolve by not using a FileCollection
bl...@lyft.com <bl...@lyft.com> #4
xav@ could you assign this bug to someone to make sure it gets fixed?
ch...@google.com <ch...@google.com> #5
Jerome will do that for you :)
bl...@lyft.com <bl...@lyft.com> #6
Bingran, can you have a look at this asap. thx !
ap...@google.com <ap...@google.com> #7
To make sure I analyze the "buildOnServer-7.5-rc-2-2022-07-01-shutdown.snapshot" correctly, I attached a screenshot of how I find the concerning point. From the picture, the MergeGeneratedProguardFilesCreationAction takes 1924ms. Is that the right way to check your snapshot file? If so, what is the expected time for that creation action in a config cached build?
ap...@google.com <ap...@google.com> #8
I think you missed adding an attachment.
ap...@google.com <ap...@google.com> #9
oops, here it is =)
ap...@google.com <ap...@google.com> #10
From discussions with xav@ that time should almost be non-existent during the run when the configuration cache kicks in.
ap...@google.com <ap...@google.com> #11
I checked out androidx-main, is that the right one? There is no gradlew file under that directory.
bingran@bingran-linux-west:~/androidx-main/tools$ ls
external fetch_artifact metalava repohooks
And have you ever tried building androidx with the dev version of AGP(the one built from studio-main)?
ch...@google.com <ch...@google.com> #12
I checked out androidx-main, is that the right one? There is no gradlew file under that directory.
Yes, aosp androidx-main is the repo. You'll want to use frameworks/support/gradlew
thats the main repo all the work is done.
And have you ever tried building androidx with the dev version of AGP(the one built from studio-main)?
Yes we have a script for that
namely you can set a number of variables to use the latest AGP (
- GRADLE_PLUGIN_VERSION
- LINT_VERSION
- GRADLE_PLUGIN_REPO
and then run frameworks/support/gradlew
Description
We are seeing this crash in our signed release builds. Dev builds where -dontoptimize is enabled work fine.
We are using Kotlin 1.7.10, and are able to repro this and similar "Verifier rejected class ... .<init>(...)" crashes in different classes across our repo using R8 4.0.48 as well as HEAD (6dc561aa43a09737a114a0b233d9476b4ec902e5).
Examples: