Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Dependency Search

Is there any plugin in android studio to search for dependencies. Like if i wanted to include retrofit library, I just have to search the keyword 'retrofit' and it will be added to the build.gradle

like image 317
Ridith m.p Avatar asked Sep 30 '16 05:09

Ridith m.p


People also ask

What is a dependency in Android Studio?

The Gradle build system in Android Studio makes it easy to include external binaries or other library modules to your build as dependencies. The dependencies can be located on your machine or in a remote repository, and any transitive dependencies they declare are automatically included as well.


1 Answers

Open Module Settings by right clicking on app and selecting Open Module Settings:

enter image description here

A dialog window will appear titled with Project Structure. Select Dependencies Tab and click on + icon shown in the right toolbar.

Select

  1. Library Dependency if you want to add dependencies from web.
  2. File Dependency if you want to add jar file dependencies residue in your project lib folder.
  3. Module Dependency if you want to add a project module dependencies.

enter image description here

I selected Library Dependencies and Searched for volley, results are:

enter image description here

Hope this will help you enough.

like image 66
lRadha Avatar answered Oct 22 '22 00:10

lRadha