I\'ve always added dependencies like this:
dependencies {
compile \'com.android.support:mediarouter-v7:19.+\'
}
but in the recent versi
Recently I have found this,
Go to File -> Project Structure
Select the Module
, where you want to add the dependency.
Go to Dependencies
Tab
Click +
and Choose Library Dependency
Choose whichever Library you need from the list.
(There is also an option for Search, never tried though.)
Thats it.
Done.
Thank You.