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

Duplicate Files Exception #614

Closed
MuhammadSalman-7214 opened this issue Jul 1, 2021 · 6 comments · Fixed by #630
Closed

Duplicate Files Exception #614

MuhammadSalman-7214 opened this issue Jul 1, 2021 · 6 comments · Fixed by #630
Labels
type:bug Something isn't working

Comments

@MuhammadSalman-7214
Copy link
Contributor

Describe the bug
Duplicate class org.fhir.ucum.UcumException found in modules data-capture-0.3.0-alpha02-runtime (com.google.android.fhir:data-capture:0.3.0-alpha02) and engine-0.0.2-runtime (com.google.android.fhir:engine:0.0.2)

Component
SDC library

To Reproduce
Steps to reproduce the behavior:
The issue can be reporduced by using sdc library and engine library simultaneously

Expected behavior
Duplicate files should be handled properly so they don't block us

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):
Not related to a specific device
Additional context
Add any other context about the problem here.

Would you like to work on the issue?
yeah I would like to work on the issue
Screenshot from 2021-07-01 13-22-36

@MuhammadSalman-7214 MuhammadSalman-7214 added the type:bug Something isn't working label Jul 1, 2021
@jingtang10
Copy link
Collaborator

can you do something like this:

packagingOptions {
in your project to deduplicate this file?

you might want to use option pickFirsts rather than exclude: https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/dsl/PackagingOptions

@MuhammadSalman-7214
Copy link
Contributor Author

MuhammadSalman-7214 commented Jul 1, 2021

can you do something like this:

packagingOptions {

in your project to deduplicate this file?
you might want to use option pickFirsts rather than exclude: https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/dsl/PackagingOptions

@jingtang10 this (packagingOptions) is already added in the project, but the problem still persists

@MuhammadSalman-7214
Copy link
Contributor Author

can you do something like this:

packagingOptions {

in your project to deduplicate this file?
you might want to use option pickFirsts rather than exclude: https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/dsl/PackagingOptions

@jingtang10 this (packagingOptions) is already added in the project, but the problem still persists

@jingtang10 this solution is not working, can you please suggest something else? thanks

This was referenced Jul 2, 2021
@Tarun-Bhardwaj
Copy link

@MuhammadSalman-7214 is there an ETA by when this issue can be closed? It is blocking #590 which is a high priority for Q3 v0 release.

@MuhammadSalman-7214
Copy link
Contributor Author

@Tarun-Bhardwaj this issue needs discussion with @jingtang10 because the solution for this issue hasn't been finalized yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants