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

同时引入rxjava1和rxjava2报错 #35

Open
cccdada opened this issue Mar 7, 2017 · 1 comment
Open

同时引入rxjava1和rxjava2报错 #35

cccdada opened this issue Mar 7, 2017 · 1 comment

Comments

@cccdada
Copy link

cccdada commented Mar 7, 2017

Error:FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:transformResourcesWithMergeJavaResForDevDebug'.

com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/rxjava.properties
File1: /Users//.gradle/caches/modules-2/files-2.1/io.reactivex.rxjava2/rxjava/2.0.5/4f1ac7ec0215e8f87ac80269baadc82878b87ed8/rxjava-2.0.5.jar
File2: /Users/
/.gradle/caches/modules-2/files-2.1/io.reactivex/rxjava/1.2.1/4e4cfa4adc74521d5966799fa5ab70b733552f68/rxjava-1.2.1.jar

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
@glgzhu
Copy link

glgzhu commented Mar 10, 2017

把compile 'me.shaohui.advancedluban:library:1.3.5'
改成compile 'me.shaohui.advancedluban:library:1.3.3'即可。
1.3.4版本把Rxjava升级为Rxjava2,所以引入1.3,3是可以的。

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

2 participants