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

Duplicate class androidx.lifecycle.ViewModelLazy #23

Open
dariushEm opened this issue Jul 1, 2023 · 2 comments
Open

Duplicate class androidx.lifecycle.ViewModelLazy #23

dariushEm opened this issue Jul 1, 2023 · 2 comments
Assignees

Comments

@dariushEm
Copy link

Describe the bug
Duplicate class androidx.lifecycle.ViewModelLazy found in modules jetified-lifecycle-viewmodel-ktx-2.3.0-runtime (androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0) and lifecycle-viewmodel-2.5.1-runtime (androidx.lifecycle:lifecycle-viewmodel:2.5.1)

Duplicate class androidx.lifecycle.ViewTreeViewModelKt found in modules jetified-lifecycle-viewmodel-ktx-2.3.0-runtime (androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0) and lifecycle-viewmodel-2.5.1-runtime (androidx.lifecycle:lifecycle-viewmodel:2.5.1)

Information

  • Android OS Version: 13
  • Library Version: 0.6.2
@siavash-kadkhodai
Copy link

با سلام الان روی نسخه 0.6.3 هم ما همین مشکل را داریم
ورژن های قدیمی تر تست کردیم باز هم مشکل هست
نحوه حل این مشکل به چه صورت هست؟

@armanhossiny
Copy link

وارد gadle ريشه پروژه شو و دپندنسی‌ زیر رو به اخرین نسخه اپدیت کن

‍‍`‍ ‍‍‍ dependencies {

    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10"
}

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

4 participants