l33t
l33t

Reputation: 19996

How to know the version of referenced dependency?

Using Android Studio 0.3.1. In build.gradle I add the following:

dependencies {
    compile 'com.google.android.gms:play-services'
}

Reading this it seems that you need to specify a version number after the package name. But how do I know the version number?

Upvotes: 0

Views: 54

Answers (1)

Gabriele Mariotti
Gabriele Mariotti

Reputation: 365028

You can check your version in this file

sdk/extras/google/google_play_services/libproject/google-play-services_lib/res/values/version.xml

Also you can check the current version here: http://gradleplease.appspot.com/

Upvotes: 1

Related Questions