How to check what is the latest version of a dependency to use in gradle

前端 未结 8 1721
再見小時候
再見小時候 2020-12-29 20:24

I\'ve always added dependencies like this:

dependencies {
    compile \'com.android.support:mediarouter-v7:19.+\'
}

but in the recent versi

8条回答
  •  借酒劲吻你
    2020-12-29 20:51

    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:

提交回复
热议问题