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

[Bug]: Cannot run example #28

Open
lemcoder opened this issue Nov 20, 2024 · 1 comment
Open

[Bug]: Cannot run example #28

lemcoder opened this issue Nov 20, 2024 · 1 comment
Assignees

Comments

@lemcoder
Copy link

What happened?

Unable to build example Android app

Execution failed for task ':compottie:compileDebugKotlinAndroid'.
> Error while evaluating property 'friendPathsSet$kotlin_gradle_plugin_common' of task ':compottie:compileDebugKotlinAndroid'.
   > Could not resolve all files for configuration ':compottie:debugCompileClasspath'.
      > Could not resolve org.jetbrains.kotlinx:atomicfu:0.26.0.
        Required by:
            project :compottie
         > Cannot find a version of 'org.jetbrains.kotlinx:atomicfu' that satisfies the version constraints:
              Dependency path 'io.github.alexzhirkevich:compottie:2.0.0-rc02' --> 'org.jetbrains.kotlinx:atomicfu:0.26.0'
              Constraint path 'io.github.alexzhirkevich:compottie:2.0.0-rc02' --> 'org.jetbrains.kotlinx:atomicfu:{strictly 0.23.2}' because of the following reason: debugRuntimeClasspath uses version 0.23.2

Host machine: Windows,
IDE: Android Studio

What Compottie version do you experience the bug on?

2.0.0-rc02

What platforms are you seeing the problem on?

Android

Does Compottie log anythyng to the stdout / your logger set with Compottie.logger?

No response

@lemcoder
Copy link
Author

I submitted a PR with solution -> #29

the issue is due to gradle beeing unable to resolve right atomicfu version because compose provides a transitive dependency on atomicfu v0.23.2 and compottie uses v0.26.0

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

Successfully merging a pull request may close this issue.

2 participants