Ridith m.p
Ridith m.p

Reputation: 61

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

Upvotes: 5

Views: 7890

Answers (5)

lRadha
lRadha

Reputation: 641

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.

Upvotes: 8

AbhayBohra
AbhayBohra

Reputation: 2117

I don't think that kind of plugin exists but check out this link.This is something similar of what you are looking.

http://gradleplease.appspot.com/#appcompat

You have to type the name of the library and it will give you the gradle dependancy link which you have to put in your gradle file. Try this

Upvotes: 0

Pr38y
Pr38y

Reputation: 1565

right click on your project>open module setting >> select dependency tab from right window >> click plus from bottom toolbar >> select library dependency> in the dialog enter your search text > click ok

Upvotes: 0

rzaaeeff
rzaaeeff

Reputation: 880

Try this:

Project Structure > Dependencies Tab > Add module dependency

Upvotes: 0

D.J
D.J

Reputation: 1559

Go to open module setting of project. Click on + button on right side, and search retrofit by clicking search button.

Upvotes: 7

Related Questions