pchmn / MaterialChipsInput

Implementation of Material Design Chips component for Android
Apache License 2.0
2.63k stars 382 forks source link

Failed to resolve com.beloo.widget:ChipsLayoutManager dependency #140

Open JCreswellENVRMNT opened 2 years ago

JCreswellENVRMNT commented 2 years ago

Hello, As of 2022-01-12 it seems jcenter has finally died and requests to it are throwing 502s. The dependency com.beloo.widget:ChipsLayoutManager (https://github.com/BelooS/ChipsLayoutManager) seems to be abandoned and is only hosted on jcenter; can you please switch to a different dependency or integrate this one somehow (maybe fork it and publish the result with original author's permission)?

JCreswellENVRMNT commented 2 years ago

There's an issue tracking this on the com.beloo.widget repo https://github.com/BelooS/ChipsLayoutManager/issues/69; I can work around by following the jitpack instructions there, but it requires excluding this dependency as-is from com.github.pchmn:MaterialChipsInput:1.0.8

KrunalStrategyX commented 2 years ago

Hi I have add chips Input as a module in my project and i was modify it android to androidx and after that I build the project getting chips layout manager library not found issue and also can not find com.pchmn.materialchips.R2;

arindam091 commented 2 years ago

Hi guys, did you find any solution of this issue?

JCreswellENVRMNT commented 2 years ago

@arindam091 the solution is just to point jitpack at the BelooS/ChipsLayoutManager repo and use the resultant artifact. Jitpack works by pulling the source from the linked repo, building it, and hosting the output artifact in its own Maven repo. My build.gradle changed to: project: allprojects { repositories { google() ... maven { url "https://jitpack.io" } } } module: implementation('com.github.pchmn:MaterialChipsInput:1.0.8') { exclude group:'com.beloo.widget', module:'ChipsLayoutManager' } implementation 'com.github.BelooS:ChipsLayoutManager:v0.3.7'