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

前端 未结 8 1718
再見小時候
再見小時候 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 21:04

    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.

提交回复
热议问题