Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
I had created the same issue with wrong component earlier
pr...@google.com <pr...@google.com> #3
I noticed in the sample project you're using an emulator with api30.
We found a bug that is being fixed related to api 30 emulator and baseline profile generation.
Could you please try:
- Updating the baseline profile gradle plugin version (alpha14 is the latest as we speak)
- Change api version to 33 (or anything > 30)
Let me know if this works!
Thanks!
Description
Logcat:https://paste.googleplex.com/4815901388177408
Able to repro (though the crash itself is infrequent), added some tracing to see that it takes us 9 seconds to stop simpleperf, 5.4s of which is converting simpleperf to the stable output format that studio requires. See screenshot.
Have a fix that will defer this conversion off the main thread, which reduces ANR risk (and should avoid need for tweaking ANR avoidance hard deadline).