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

getting error Execution failed for task ':app:checkDebugDuplicateClasses'. #158

Closed
vikasacharya16 opened this issue Jan 5, 2020 · 4 comments

Comments

@vikasacharya16
Copy link

i just added tns plugin add nativescript-pager and run the app tns build android

Execution failed for task ':app:checkDebugDuplicateClasses'.
Duplicate class com.rd.IndicatorManager found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.IndicatorManager$Listener found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.PageIndicatorView found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.PageIndicatorView$1 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.PageIndicatorView$2 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.PageIndicatorView$3 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.AnimationManager found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.controller.AnimationController found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.controller.AnimationController$1 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and
classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.controller.ValueController found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.controller.ValueController$UpdateListener found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.data.AnimationValue found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.data.Value found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.data.type.ColorAnimationValue found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.data.type.DropAnimationValue found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.data.type.FillAnimationValue found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.data.type.ScaleAnimationValue found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.data.type.SlideAnimationValue found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.data.type.SwapAnimationValue found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.data.type.ThinWormAnimationValue found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and
classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.data.type.WormAnimationValue found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.AnimationType found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.BaseAnimation found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.ColorAnimation found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.ColorAnimation$1 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.DropAnimation found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.DropAnimation$1 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar
(com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.DropAnimation$2 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar
(com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.DropAnimation$AnimationType found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and
classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.FillAnimation found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.FillAnimation$1 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar
(com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.ScaleAnimation found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.ScaleAnimation$1 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.ScaleDownAnimation found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.SlideAnimation found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.SlideAnimation$1 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.SwapAnimation found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.SwapAnimation$1 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar
(com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.ThinWormAnimation found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.ThinWormAnimation$1 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.WormAnimation found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.WormAnimation$1 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar
(com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.animation.type.WormAnimation$RectValues found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.DrawManager found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.controller.AttributeController found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.controller.DrawController found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar
(com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.controller.DrawController$1 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.controller.DrawController$ClickListener found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.controller.MeasureController found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.data.Indicator found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.data.Orientation found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.data.PositionSavedState found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.data.PositionSavedState$1 found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar
(com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.data.RtlMode found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.drawer.Drawer found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.drawer.type.BaseDrawer found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.drawer.type.BasicDrawer found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.drawer.type.ColorDrawer found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.drawer.type.DropDrawer found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.drawer.type.FillDrawer found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.drawer.type.ScaleDownDrawer found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.drawer.type.ScaleDrawer found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.drawer.type.SlideDrawer found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.drawer.type.SwapDrawer found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.drawer.type.ThinWormDrawer found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.draw.drawer.type.WormDrawer found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.pageindicatorview.BuildConfig found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.utils.CoordinatesUtils found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.utils.DensityUtils found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)
Duplicate class com.rd.utils.IdUtils found in modules classes.jar (com.github.adrielcafe:PageIndicatorView:1.0.6) and classes.jar (com.romandanylyk:pageindicatorview:1.0.3)

Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.

i cannot even start with plugin.

@vikasacharya16 vikasacharya16 changed the title getting error getting error Execution failed for task ':app:checkDebugDuplicateClasses'. Jan 5, 2020
@triniwiz
Copy link
Owner

triniwiz commented Jan 5, 2020

Are you using NativeScript carousel or some other similar plugin ?

@vikasacharya16
Copy link
Author

vikasacharya16 commented Jan 6, 2020

Are you using NativeScript carousel or some other similar plugin ?

Yes, I'm using nativescript-carousel. So what ?

@Amaryadav7
Copy link

Are you using NativeScript carousel or some other similar plugin ?

any solution for the same ?

@vikasacharya16
Copy link
Author

Are you using NativeScript carousel or some other similar plugin ?

any solution for the same ?

use carousal or pager don't use both. I removed pager and keep the carousel

@triniwiz triniwiz mentioned this issue Feb 22, 2020
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

3 participants