How should card components and attributes be imported?
SaltedFish-Extreme opened this issue · 4 comments
SaltedFish-Extreme commented
SaltedFish-Extreme commented
Well, I found that upgrading all the packages introduced in the project to the latest version will have Card components and properties, but the corresponding compilation SDK needs to be upgraded to 33, and the minimum adaptation SDK needs to be 25
ppjjhh commented
me too. same issue.
ppjjhh commented
add these sentences to gradle's dependencies, and the Card will be found.
def composeBom = platform('androidx.compose:compose-bom:2022.10.00')
implementation(composeBom)
androidTestImplementation(composeBom)
SaltedFish-Extreme commented
@ppjjhh thanks,I later upgrade the relevant dependent libraries to the latest version and it can be used