I\'ve always added dependencies like this:
dependencies {
    compile \'com.android.support:mediarouter-v7:19.+\'
}
but in the recent versi
If it is a dependency that comes from Google's maven repository, the best way these days is to go to https://maven.google.com , where google now lets you browse all their libraries and see all the versions available, including the latest version. It looks like this:
You can even do a search for a specific library, and then expand/collapse it as desired: