android / performance-samples

Samples to show APIs and best practices in Performance on Android
https://d.android.com/topic/performance/overview
Apache License 2.0
1.27k stars 214 forks source link

Getting Could not find com.squareup.okio:okio-bom:2.8.0. #245

Closed sbjoit1562 closed 1 year ago

sbjoit1562 commented 1 year ago

Hi Team, I am getting this issue while integrating Macro benchmark on big scale production app. For sample project it is working fine.



``` Could not find com.squareup.okio:okio-bom:2.8.0.
Required by:
    project :benchmark > com.squareup.wire:wire-runtime-jvm:4.4.1
Search in build.gradle files

`Required by:
         project :benchmark > androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha13 > androidx.benchmark:benchmark-common:1.2.0-alpha13 > com.squareup.wire:wire-runtime:4.4.1 > com.squareup.wire:wire-runtime-jvm:4.4.1
`

I am using "androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha13". 
In my project i am also using com.squareup.okio:okio:2.8.0 is that causing dependency issues.
keyboardsurfer commented 1 year ago

Hi @sbjoit1562, this doesn't seem like an issue with benchmarking itself but with either your dependency or repository setup for the project you're working on.