SortableTableView icon indicating copy to clipboard operation
SortableTableView copied to clipboard

Getting Duplicate class found error after adding this dependency

Open parveshnarwal opened this issue 2 years ago • 1 comments

I am adding this library in my android java based project but I am getting duplicate class found errors :

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

My gradle file:

dependencies {

    implementation 'androidx.appcompat:appcompat:1.6.1'
    implementation 'com.google.android.material:material:1.8.0'
    implementation 'org.jsoup:jsoup:1.13.1'
    implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
    implementation 'com.github.ISchwarz23:SortableTableView:2.8.1'
    testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.5'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}

parveshnarwal avatar Mar 11 '23 11:03 parveshnarwal

Hi, I'm also getting the same error. @ISchwarz23

FrancescoD3V avatar Mar 26 '24 14:03 FrancescoD3V