0

How to make the SearchView which give me suggestions when I write the first character ? previously I used this library but now it doesn't work.

this is the library https://github.com/MiguelCatalan/MaterialSearchView

enter image description here

  • When was the last time it worked? Was it same machine? Do you know any changes that were made? Most likely you are not connecting to the service due to credential changes like going to https (from http) or now using credentials OAUTH2 instead of older credentials. Both of these type issues are common. – jdweng Mar 11 '23 at 20:50
  • it worked with me till now in the old projects which have build.gradle (project) level different from the newest projects – mahmoud elmahgoub Mar 11 '23 at 21:21
  • when I added searchview in xml layout I have this error Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. – mahmoud elmahgoub Mar 11 '23 at 21:24
  • Open config file with text editor and compare differences : https://developer.android.com/studio/build. Looks like you did that. See following : https://stackoverflow.com/questions/25994163/could-not-resolve-all-dependencies-for-configuration-classpath – jdweng Mar 11 '23 at 21:25
  • I don't know what is the config file and text editor as I am beginner, how to open it? – mahmoud elmahgoub Mar 11 '23 at 21:32
  • Looks like config file is build.gradle. You can use notepad or just display file on console. – jdweng Mar 11 '23 at 21:37

0 Answers0