Status Update
Comments
cc...@google.com <cc...@google.com> #2
This functionality was released in benchmark 1.2.0-alpha06:
You'll need to use an Android 13 (API 33) emulator, and androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha06
, which removes the requirement for root, and thus works on Play emulator images.
Description
Artifacts used:
androidx.benchmark:benchmark-macro-junit4:1.1.0
androidx.profileinstaller:profileinstaller:1.2.0
Setup:
minSdk = 24
compileSdk = 32
targetSdk = 30
AGP = 7.1.3
Machine:
Issue:
"adbd cannot run as root in production builds"
)How can we generate baseline profiles for our app? Any help is much appreciated since we're really looking to add baseline profiles (we're seeing startup time issues in the wild).