Skip to content

Duplicate class error when building the project #1001

Open
@SergeyKodzha

Description

@SergeyKodzha

I just added library dependency into build.gradle:

implementation "com.sothree.slidinguppanel:library:3.4.0"

Then on project builld an error pops out:

Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.0.2.aar -> support-compat-26.0.2-runtime (com.android.support:support-compat:26.0.2)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.0.2.aar -> support-compat-26.0.2-runtime (com.android.support:support-compat:26.0.2)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.0.2.aar -> support-compat-26.0.2-runtime (com.android.support:support-compat:26.0.2)
Duplicate class android.support.v4.os.IResultReceiver found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.0.2.aar -> support-compat-26.0.2-runtime (com.android.support:support-compat:26.0.2)
Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.0.2.aar -> support-compat-26.0.2-runtime (com.android.support:support-compat:26.0.2)
Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.0.2.aar -> support-compat-26.0.2-runtime (com.android.support:support-compat:26.0.2)
Duplicate class android.support.v4.os.ResultReceiver found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.0.2.aar -> support-compat-26.0.2-runtime (com.android.support:support-compat:26.0.2)
Duplicate class android.support.v4.os.ResultReceiver$1 found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.0.2.aar -> support-compat-26.0.2-runtime (com.android.support:support-compat:26.0.2)
Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.0.2.aar -> support-compat-26.0.2-runtime (com.android.support:support-compat:26.0.2)
Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.0.2.aar -> support-compat-26.0.2-runtime (com.android.support:support-compat:26.0.2)

Android Studio Ladybug 2024.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions