MiguelCatalan / MaterialSearchView

Cute library to implement SearchView in a Material Design Approach
http://miguelcatalan.info/2015/09/23/MaterialSearchView/
Apache License 2.0
3.83k stars 616 forks source link

Failed to resolve: com.miguelcatalan:materialsearchview:1.4.0 #256

Open yogeshmehare opened 1 month ago

yogeshmehare commented 1 month ago

hi, So this library latest version is available only in spring plugins repository and jcenter is also dow now. Spring plugin is also not publically available We are unable to build project because library is not resolved. can you tell what to do. Can you please attach aar file for latest version 1.4.0 in github itself

ranjithrengasamy commented 1 month ago

Hi @yogeshmehare, Thank you for raising this issue. Day before yesterday also I faced the same issue and raised it but no reply. After searching a lot and tried almost one week I found the solution. Sharing below,

  1. Download the code from GitHub.
  2. Import it as "New Module" in your app.
  3. Add in dependencies like this "implementation project(':materialsearchviewnew')" and your imported module folder inside your app.
  4. "Sync now" and "Run". Thank you.
OmarMax123 commented 1 week ago

Hi @yogeshmehare, Thank you for raising this issue. Day before yesterday also I faced the same issue and raised it but no reply. After searching a lot and tried almost one week I found the solution. Sharing below,

  1. Download the code from GitHub.
  2. Import it as "New Module" in your app.
  3. Add in dependencies like this "implementation project(':materialsearchviewnew')" and your imported module folder inside your app.
  4. "Sync now" and "Run". Thank you.

Unfortunately, the method did not work for me. Other errors appear in the library. Do you have a detailed method for adding the library? I have used it in several interfaces, and now I am suffering from its incompatibility with the new server. Why didn't they update the library or develop another way to use it? This is why it is always preferable to use large companies' libraries for continued support.

OmarMax123 commented 1 week ago

i solved it by add
maven { url "https://repository.liferay.com/nexus/content/repositories/public/" }