-
Notifications
You must be signed in to change notification settings - Fork 123
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
Expected object 'SharedRes' has no actual declaration in module <composeApp_debug> for JVM #606
Comments
|
I'm seeing a similar problem with multiplatform. The work around was: sourceSets {
getByName("androidMain") {
kotlin.srcDir("build/generated/moko/androidMain/src")
}
} |
Thank for the solution this have solve my problems too :) ✅ I think we can close this ticket ❌ |
I don't think so. This should be fixed in the plugin. The workaround shouldn't be necessary. |
I'm also seeing this issue. Thanks for the workaround @ScottPierce. |
fix in #575 |
Don't think it's fixed because I have similar error message on 0.24.0-alpha-5:
In my case I have android, common, desktop source sets. On Desktop build I see this error, Android build works fine. desktopMain directory is not created at all in common/build/generated/moko. So workaround with srcSet will not work because of this. |
@avently please preapre reproducer, because in our samples all works |
Oh, I made a sample and after that noticed that I use Also found how to fix applyDefaultHierarchyTemplate() before
|
will be fixed in 0.24.0, please check in 0.24.0-alpha-6 |
should be fixed in 0.24.0-beta-1 |
Expected object 'SharedRes' has no actual declaration in module <composeApp_debug> for JVM
The text was updated successfully, but these errors were encountered: