Some libraries do not appear in the dependency search list

Asked

Viewed 77 times

2

When we go to the Project Structure configuration menu, the app configuration, and Dependencies, we can add some libraries to a list or search. But it is not any library that appears. For example when I search for Volley, it does not appear in this list.

Does anyone know how to put more items on this list? Sometimes I forget how is the library link to put in Gradle, and wanted an easier method for every time starting a new project, could add easier through this menu.

Does anyone know how I can do that? I’m sorry if I couldn’t explain it properly.

Below I leave an image to show on the screen I’m talking about.

inserir a descrição da imagem aqui

  • You can add new repositories to gradle: https://developer.android.com/studio/build/dependencies.html#google-Maven

  • Thanks for replying @Valdeirpsr, but if I put in Gradle it will appear in any new project I create? I don’t know much English, and the translation is not so clear to me. I have doubts about how to do this in android studio, if I put a specific menu, I put in my project’s Gradle and automatically serve for everyone, and how do I get the links from the repositories? If it’s not too much trouble, could you give me a more detailed answer? Forgive my ignorance on the subject.

1 answer

1


By what I am given to understand the search only works for libraries whose identifier begins with com.android or com.google.android.

So you need to know the full library identifier to add it.
Note that even if you enter the full identifier it does not appear in the search result, however it will be added when you click on OK.

inserir a descrição da imagem aqui

  • 1

    Poxa, well that the android studio could facilitate, leaving add other repositores to search in this listing. I hope they improve this in the next versions.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.