Not sure if this is the correct channel but its re...
# compose
j
Not sure if this is the correct channel but its related to updating compose library from 1.3.3 to 1.6.8(Yes we should be using BOM but its not my personal project i am working on) Anyways after updating the compose library to 168 i get a build error when running our ui tests. i am able to run the app fine and even launch unit tests but ui tests is wher ei have issues with . Below is the error: Duplicate class androidx.colection.ArrayMapkt found in module colection-jvm-1.4.0.jar. Now we have not added the androidX collection lib to our dependencies so not sure whats happening? All my other androidX libraries are all up to date but compose doesnt seen to work if i update it? Also, i want to note that
l
Jetifier could be causing this if you are using appcompat dependencies
j
Yea i am using appcompact versoon 1.7.0
l
Yeah, could be that. I'd recommend removing appcompat and switching to androidX or look for more complex solutions
j
i just checked, i use androidX.appCompat:appcompat
So i am already using appCompat androidX
l
Then basically you need to find compatible dependencies, maybe compose is pulling different versions of something, I'd start my investigation there