https://kotlinlang.org logo
j

Jrichards1408

11/16/2020, 3:06 PM
anyone came across this error before in compose?
y

Yann Badoual

11/16/2020, 3:17 PM
You're probably using a lib that wasn't compile against alpha07. Alpha07 broke compatibility with previous versions
j

Jrichards1408

11/16/2020, 3:18 PM
am using def jetpack_compose = "1.0.0-alpha06"
umm
y

Yann Badoual

11/16/2020, 3:21 PM
Then maybe you're using a lib compiled against alpha07 ?
i

Ian Lake

11/16/2020, 3:23 PM
If you're using Navigation Compose alpha02, you'll need to upgrade to Compose 1.0.0-alpha07
j

Jrichards1408

11/16/2020, 3:33 PM
all my compose resides on the above jetpack_compose variable
y

Yann Badoual

11/16/2020, 3:55 PM
Navigation Compose library is not using the same version value
j

Jrichards1408

11/16/2020, 3:56 PM
i am not using navigation compose yet
y

Yann Badoual

11/16/2020, 4:06 PM
ok, can you list the libs that you're using that are using compose?
maybe
accompanist
?
1
j

Jrichards1408

11/16/2020, 4:07 PM
ahh i think its a problem with `
Copy code
CoilImage
Via
accompanist
as you rightly mentioned
someone reocmmended i use that and thats when i started having the issue
@annsofi
y

Yann Badoual

11/16/2020, 4:20 PM
this version should work fine, but I suggest that instead you bump to alpha07 of compose
j

Jrichards1408

11/16/2020, 4:21 PM
yea i am guna try that and do a clena build and install
g

gildor

11/17/2020, 2:05 PM
Should compose start providing BOM dependency to avoid those issues?
j

Jrichards1408

11/17/2020, 2:45 PM
BOM?
2 Views