如何找到库从摇篮依赖的版本? Android的工作室 [英] How to find the version of library from Gradle Dependency? Android Studio

查看:183
本文介绍了如何找到库从摇篮依赖的版本? Android的工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要如何找到正在使用时,我的摇篮文件提到了使用+操作​​符在依赖的版本号的依赖库的版本?

How do I find the version of libraries that are being used when my Gradle file mentions a dependency using the '+' operator in the version number of the dependency?

我的的build.gradle 下的应用模块读取,像这样:

My build.gradle under app module reads like so:

dependencies {
  compile fileTree(dir: 'libs', include: ['*.jar'])
  compile 'com.google.android.gms:play-services:5.+'
}

什么是正在这里使用的播放服务库版本?

What is the version of the play-services library that is being used here?

推荐答案

项目面板在左边,浏览到 .idea /库

所有你的项目已经提到库的依赖关系,与每个人得到了自己的XML文件。你可以看到包含在XML文件标题的版本号。 XML本身具有的库文件的路径。

All the library dependencies that your project has have been mentioned, with each one getting its own xml file. You can see the version number included in the xml file title. The xml itself has the library file path.

这篇关于如何找到库从摇篮依赖的版本? Android的工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆