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 · 3 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!

@keyboardsurfer
Copy link
Member

Please post to StackOverflow with a MVCE and link here, so we can follow up.

@keyboardsurfer keyboardsurfer assigned BlueTurtle3 and unassigned yenerm Sep 11, 2024
@keyboardsurfer
Copy link
Member

We need your input to act on this issue.
This issue will be closed soon unless there is further actionable input.

@BlueTurtle3
Copy link
Author

Hi Ben,

Thanks for your reply.
This is an old ticket and we have moved on since then and I can't reproduce this behavior.
Please close the ticket.

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

3 participants