LuckSiege / LuckSiege/PictureSelector

How to solve: Duplicate class com.yalantis.ucrop.UCrop found in modules jetified-pictureselector-v2.7.2-runtime

Open
#2,122 0 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

Duplicate class com.yalantis.ucrop.UCrop found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.UCrop$Options found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.UCropActivity found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.UCropActivity$1 found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.UCropActivity$2 found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.UCropActivity$3 found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.UCropActivity$4 found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.UCropActivity$5 found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.UCropActivity$6 found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.UCropActivity$7 found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.UCropActivity$8 found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.UCropActivity$GestureTypes found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.callback.BitmapCropCallback found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.callback.BitmapLoadCallback found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.callback.CropBoundsChangeListener found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.callback.OverlayViewChangeListener found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.model.AspectRatio found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.model.AspectRatio$1 found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.model.CropParameters found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.model.ExifInfo found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.model.ImageState found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.task.BitmapCropTask found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.task.BitmapLoadTask found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.task.BitmapLoadTask$BitmapWorkerResult found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.BitmapLoadUtils found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.CubicEasing found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.EglUtils found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.FastBitmapDrawable found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.FileUtils found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.ImageHeaderParser found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.ImageHeaderParser$RandomAccessReader found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.ImageHeaderParser$Reader found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.ImageHeaderParser$StreamReader found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.RectUtils found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.RotationGestureDetector found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.RotationGestureDetector$OnRotationGestureListener found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.RotationGestureDetector$SimpleOnRotationGestureListener found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.util.SelectedStateListDrawable found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.CropImageView found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.CropImageView$WrapCropBoundsRunnable found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.CropImageView$ZoomImageToPosition found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.GestureCropImageView found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.GestureCropImageView$1 found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.GestureCropImageView$GestureListener found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.GestureCropImageView$RotateListener found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.GestureCropImageView$ScaleListener found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.OverlayView found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.OverlayView$FreestyleMode found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.TransformImageView found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.TransformImageView$1 found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.TransformImageView$TransformImageListener found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.UCropView found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.UCropView$1 found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.UCropView$2 found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.widget.AspectRatioTextView found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.widget.HorizontalProgressWheelView found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)
Duplicate class com.yalantis.ucrop.view.widget.HorizontalProgressWheelView$ScrollingListener found in modules jetified-pictureselector-v2.7.2-runtime (io.github.lucksiege:pictureselector:v2.7.2) and jetified-ucrop-2.2.6-native-runtime (com.github.yalantis:ucrop:2.2.6-native)

Go to the documentation to learn how to Fix dependency resolution errors.
implementation ('io.github.lucksiege:pictureselector:v2.7.2'){
    exclude group:'io.github.lucksiege:pictureselector:v2.7.2',module: 'ucrop'
  }

not work for me.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the Android dependency declarations that bring in io.github.lucksiege:pictureselector:v2.7.2 and com.github.yalantis:ucrop:2.2.6-native, then reproduce the reported build failure. Trace why both artifacts contain com.yalantis.ucrop classes. Done means the project builds without duplicate-class errors while retaining the required image-selection and cropping behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.