Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How should card components and attributes be imported? #312

Closed
SaltedFish-Extreme opened this issue Dec 1, 2022 · 4 comments
Closed

How should card components and attributes be imported? #312

SaltedFish-Extreme opened this issue Dec 1, 2022 · 4 comments

Comments

@SaltedFish-Extreme
Copy link

image
image
image
image

@SaltedFish-Extreme
Copy link
Author

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
Copy link

ppjjhh commented Dec 3, 2022

me too. same issue.

@ppjjhh
Copy link

ppjjhh commented Dec 3, 2022

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
Copy link
Author

@ppjjhh thanks,I later upgrade the relevant dependent libraries to the latest version and it can be used

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants