Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to run assembleDebugAndroidTest in MacrobenchmarkSample app #266

Open
BlueTurtle3 opened this issue Dec 6, 2023 · 0 comments
Open
Assignees

Comments

@BlueTurtle3
Copy link

BlueTurtle3 commented Dec 6, 2023

Hi,

I have migrated to androidx.benchmark:benchmark-macro-junit4:1.2.2 and when running the assembleDebugAndroidTest task for firebase testlab I am getting the following error (Same for 1.2.0-1.2.2):

Screenshot 2023-12-06 at 11 53 26

The same thing happens when the MacrobenchmarkSample app. In both cases adding:
tools:overrideLibrary="androidx.benchmark.macro,androidx.benchmark.macro.junit4"
didn't help.

My workaround was to import the macro benchmark to implementation/api configurations instead of AndroidTest but the result is that when I build an apk or a bundle it generates huge traces in the assets folder named: trace_processor_shell_xxx' and trace box_xxx`, increasing the file by over 10MB.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants