harjot-oberai / Croller

A circular seekbar for Android, with a control knob! (for the lack of a better word).
MIT License
1.23k stars 165 forks source link

error: duplicate value for resource 'attr/progress' #28

Open sfstanley1 opened 5 years ago

sfstanley1 commented 5 years ago

On using Croller v 1.0.7 and upgrading to the latest version on Constraint layout in Android i.e com.android.support.constraint:constraint-layout:2.0.0-alpha1/alpha2 (Motion Layout)

i get the following:

Can you please help with this if possible?

dev-ritik commented 5 years ago

Hi @sfstanley1 The error you are getting is resolved in PR #26 . Currently, the PR is merged and the code has been updated. We shall update the dependency asap!

sfstanley1 commented 5 years ago

thanks for the quick reply..is there any ETA on the dependency update ?

Lundez commented 5 years ago

Any ETA on the update?

dev-ritik commented 5 years ago

Hey @sfstanley1 , @Lundez I am not sure on how long it would take to make it so I would recommend you to upload the code to some other publishing websites like jitpack for the time being.

YanMetelitsa commented 5 years ago

Hi, @dev-ritik After updating Adroid Studio there was such a problem. All day I try to fix it, but I could not do anything. It turned out to connect the repository using Jitpack, but Croller has only one release. Maybe you can help me with connecting non-release versions by Jitpack?

Lundez commented 5 years ago

@YanMetelitsa you can use the following (if you have jitpack added also): implementation 'com.github.Lundez:Croller:1.0.3'

YanMetelitsa commented 5 years ago

@Lundez, it's great, thanks :) But, what XML code I have to use? Like: <com.github.lundez.crollerTest.Croller android:id="@+id/croller" ... />

dev-ritik commented 5 years ago

@YanMetelitsa You should use the Snapshot instead of release to get the dependency. Try using this dependency, implementation 'com.github.harjot-oberai:Croller:-SNAPSHOT'

YanMetelitsa commented 5 years ago

@dev-ritik, I tried to try various options for connecting the repository including this, but they all gave an error:

Failed to resolve: com.github.harjot-oberai:Croller:-SNAPSHOT

Jitpack.io says:

If the project doesn't have any GitHub Releases you can use the short commit hash or 'master-SNAPSHOT' as the version.

But it doesn't work either. In any case, @Lundez link helped me. Thanks anyway :)