Issue
Question:
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?
Context
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?
Solution
Look under .idea
folder of your project
In the Project Pane
on the left, browse to .idea/libraries
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.
(OR) Use Gradle’s built in task to get dependencies
See steps here: https://stackoverflow.com/a/25236208/1311745
Answered By – Dheeraj Bhaskar
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0