Status Update
Comments
sh...@google.com <sh...@google.com>
au...@google.com <au...@google.com> #2
Thank you for reporting the issue. This should be fixed in: Android Studio JellyFish Canary 2
xa...@google.com <xa...@google.com> #3
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Jellyfish | 2023.3.1 Canary 1
- Android Gradle Plugin 8.4.0-alpha01
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
au...@google.com <au...@google.com> #4
tn...@google.com <tn...@google.com> #5
Can you try
Note that it's not true that the reporting task should do almost no work; this is where filtering happens based on things like the actual minSdk and targetSdk levels, what's actually in the merged manifest coming from all libraries, what desugaring options have been enabled, etc.
But it shouldn't have initialized the UAST environment there; that's what my above CL fixes.
tn...@google.com <tn...@google.com> #6
(I see you deleted the comment about caching. If there's no such problem and it's really about the UAST issue, you can reassign the issue from Scott to me.))
xa...@google.com <xa...@google.com> #7
I'm not saying it's doing no work. The question is how fast the filtering should be.
I guess if we can make this task properly cacheable and up-to-date then the time taken to run matters less. Maybe this is what we should be focusing on instead?
au...@google.com <au...@google.com> #8
(I see you deleted the comment about caching. If there's no such problem and it's really about the UAST issue, you can reassign the issue from Scott to me.))
I split that problem into a separate bug
Can you try
https://googleplex-android-review.git.corp.google.com/c/platform/tools/base/+/19152690 to see how that improves the situation?
I can test your patch, but I need to figure out how to do that.
tn...@google.com <tn...@google.com> #9
To build AGP, in a tools checkout with my CL cherrypicked, ./gradlew pL -- which builds the repo in ../out/repo/ . Then you need to point AndroidX to it and that's your expertise :-) I know there are some envvars to point to extra repos. The version built in the tools repo will be 7.4.0-dev.
tn...@google.com <tn...@google.com> #10
It looks like the task wiring issue has been filed as a separate issue (
Description
DESCRIBE THE ISSUE IN DETAIL:
Android Lint Report tasks are not up to date and really slow.
STEPS TO REPRODUCE:
./gradlew bOS
./gradlew bOS
the second timeExpected
lintReportDebug tasks are really fast
Actual
lintReportDebug tasks are not really fast
Attaching yourkit trace