简体   繁体   English

如何知道Gradle文件中使用的android库的更新版本号

[英]How to know the updated version number of android library to use in gradle file

I am having a problem while using android libraries to android studio. 在将android库用于android studio时遇到问题。 How to know the latest version of the library which is appended in the end of the statement in the gradle file. 如何知道最新版本的库,该库附加在gradle文件的语句末尾。

For example : If I want to add the Google play services, I can add this line 例如:如果要添加Google Play服务,则可以添加以下行

    compile 'com.google.android.gms:play-services:7.8.0'

If I updated the library using sdk manager,then how to get the new version number? 如果我使用sdk管理器更新了库,那么如何获取新的版本号?

Thanks 谢谢

I usually after updating my android sdk check at 我通常在更新我的android sdk检查后

Project Structure > app > Dependencies > + button > Library dependency 项目结构>应用程序>依赖关系> +按钮>库依赖关系

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM