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

请教一下编译冲突问题 #58

Open
sksweet opened this issue Nov 16, 2018 · 0 comments
Open

请教一下编译冲突问题 #58

sksweet opened this issue Nov 16, 2018 · 0 comments

Comments

@sksweet
Copy link

sksweet commented Nov 16, 2018

作者:
您好! 我在编译时碰到一些问题,想请教一下。
问题:
在App包下,build.gradle引用了in.srain.cube:ptr-load-more:1.0.6
在一个第三方库ultimaterecyclerview的build.gradle里,引用了in.srain.cube:ultra-ptr:1.0.11
app包下引用ultimaterecyclerview,结果发生Cause: duplicate entry: in/srain/cube/views/ptr/BuildConfig.class,导致编译。
下面是集成log

+--- org.litepal.android:core:1.6.0
+--- com.zhy:flowlayout-lib:1.0.3
| --- com.android.support:appcompat-v7:22.2.1 -> 25.3.1 ()
+--- in.srain.cube:ptr-load-more:1.0.6
+--- com.android.support.constraint:constraint-layout:1.1.3
| --- com.android.support.constraint:constraint-layout-solver:1.1.3
+--- com.android.support:support-vector-drawable:25.3.1 (
)
+--- project :zxinglibrary
| +--- com.android.support:appcompat-v7:25.3.1 ()
| +--- com.android.support:design:25.3.1 (
)
| +--- com.android.support:support-v4:25.3.1 ()
| --- com.android.support:support-vector-drawable:25.3.1 (
)
+--- project :ultimaterecyclerview
| +--- com.android.support:appcompat-v7:25.3.1 ()
| +--- com.android.support:support-v13:25.3.1
| | +--- com.android.support:support-annotations:25.3.1
| | --- com.android.support:support-v4:25.3.1 (
)
| +--- com.android.support:recyclerview-v7:25.3.1 ()
| +--- in.srain.cube:ultra-ptr:1.0.11
| +--- com.github.bumptech.glide:glide:3.7.0
| --- jp.wasabeef:recyclerview-animators:2.2.3
| +--- com.android.support:appcompat-v7:23.2.1 -> 25.3.1 (
)

请问这是怎么回事呢?

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

1 participant