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

Building Issue For Drawable file and String file #34

Open
DaaniDev opened this issue Jan 21, 2025 · 3 comments
Open

Building Issue For Drawable file and String file #34

DaaniDev opened this issue Jan 21, 2025 · 3 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@DaaniDev
Copy link

Kotlin Version: 1.9.22
Compose Version: 1.7.6

When I am trying to use the library then I found that the Project is not building successfully, If I removed the library then project is building fine.

Drawable0.kt:

composeapp/generated/resources/Drawable0.kt:14:67 No value passed for parameter 'offset'
composeapp/generated/resources/Drawable0.kt:14:67 No value passed for parameter 'size'

String0.kt:

composeapp/generated/resources/String0.kt:14:67 No value passed for parameter 'offset'
composeapp/generated/resources/String0.kt:14:67 No value passed for parameter 'size'
@tamimattafi
Copy link
Owner

tamimattafi commented Jan 21, 2025

Hello @DaaniDev!
What version of the library are you using?
You can find the compatibility table here: https://github.com/tamimattafi/krop?tab=readme-ov-file#1-add-dependencies

This might be related to the fact that compose multiplatform doesn't support resources in a multi-module architecture prior to Kotlin 2.0. This includes 3rd party libraries.

@DaaniDev
Copy link
Author

So you want me to update my kotlin version to 2.0 ? As i tried all of these dependencies versions but same error.

@tamimattafi
Copy link
Owner

@DaaniDev Could you please create a minimal reproducer or share your project so I can help you?

@tamimattafi tamimattafi self-assigned this Jan 22, 2025
@tamimattafi tamimattafi added the help wanted Extra attention is needed label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants