Open sfstanley1 opened 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!
thanks for the quick reply..is there any ETA on the dependency update ?
Any ETA on the update?
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.
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?
@YanMetelitsa you can use the following (if you have jitpack added also):
implementation 'com.github.Lundez:Croller:1.0.3'
@Lundez, it's great, thanks :)
But, what XML code I have to use? Like:
<com.github.lundez.crollerTest.Croller android:id="@+id/croller" ... />
@YanMetelitsa You should use the Snapshot instead of release to get the dependency. Try using this dependency, implementation 'com.github.harjot-oberai:Croller:-SNAPSHOT'
@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 :)
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:
What went wrong: Execution failed for task ':app:mergeDebugResources'.
Command: C:\Users\Kumar.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\6c2d83a259d5cde1cbf25c4727b1a482\aapt2-3.2.1-4818971-windows\aapt2.exe compile --legacy \ -o \ C:\Users\Kumar\AndroidStudioProjects\Untitled\app\build\intermediates\res\merged\debug \ C:\Users\Kumar\AndroidStudioProjects\Untitled\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0 Output: C:\Users\Kumar.gradle\caches\transforms-1\files-1.1\croller-1.0.7.aar\ee1f5cfa4bf9e21b43d3c29c329df1d8\res\values\values.xml:3:5-1134: AAPT: error: duplicate value for resource 'attr/progress' with config ''.
C:\Users\Kumar.gradle\caches\transforms-1\files-1.1\croller-1.0.7.aar\ee1f5cfa4bf9e21b43d3c29c329df1d8\res\values\values.xml:3:5-1134: AAPT: error: resource previously defined here.
Command: C:\Users\Kumar.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\6c2d83a259d5cde1cbf25c4727b1a482\aapt2-3.2.1-4818971-windows\aapt2.exe compile --legacy \ -o \ C:\Users\Kumar\AndroidStudioProjects\Untitled\app\build\intermediates\res\merged\debug \ C:\Users\Kumar\AndroidStudioProjects\Untitled\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0
Can you please help with this if possible?