重复条目:android/support/v7/recyclerview/extensions/ListAdapter.class

duplicate entry: android/support/v7/recyclerview/extensions/ListAdapter.class

RecyclerView 27.1.0 和 android.arch.paging 1.0.0-alpha4-1 都包含 android/support/v7/recyclerview/extensions/ListAdapter.class

有人知道如何从分页组件中排除 ListAdapter.class 吗?

我觉得你可以这样做

implementation("your dependency"){
    exclude group:'com.android.support' module:'recyclerview-v7'
}

根据 Architecture Components Release Notes,您必须升级到 Paging 1.0.0-alpha6 才能使用支持库 27.1.0:

apps using Paging must upgrade to Alpha 6, and Support Library 27.1.0 at the same time