I noticed that compose-jb <was rebased on compose ...
# compose-desktop
t
I noticed that compose-jb was rebased on compose 1.2.1. That is great because now I can use 1.2.1 for Android. However I was not able to figure out which material3 version should be used. Using the wrong version will cause nosuchmethod errors. Does anyone know what material3 version compose-jb is based on? Can be either an official Androidx build or a snapshot, both are fine to me.
i
t
Thanks @Igor Demin, however it seems that it does not match the same version as on desktop. My desktop build works, but for Android I am getting the following error for
RangeSlider
with a
values
argument.
Copy code
Cannot find a parameter with this name: values
No value passed for parameter 'value'
When changing from values to value it no longer build on desktop. I am afraid this build is incompatible. Any suggestions?
It seems this commit is available in 1.0.0-alpha14 but missing for desktop: https://android-review.googlesource.com/c/platform/frameworks/support/+/2134393
i
We know about this issue, and it seems there is no easy fix for that. The easiest option is to wait for the material3 stable release. Will workaround in the issue help?
t
I see, thanks for creating the issue. The workaround should solve the crash at least, so that is very helpful. I think the only good way to fix this is to create separate builds for material3, because that’s what Google does too. Waiting for a stable build could work too, but that would still block users from using newer versions of material3. Not an easy issue to solve I see.