How to add Google Play Services for Froyo to the project using Gradle?

Viewed 4901

Information from Google Developers Portal:

  1. Open the build.gradle file inside your application directory.
  2. Add a new build rule under dependencies for the latest version of play-services. For example:
apply plugin: 'android'
...

dependencies {
    compile 'com.android.support:appcompat-v7:+'
    compile 'com.google.android.gms:play-services:4.0.30'
}

But this is instruction for standart Google Play Services. Google Play Services for Froyo is a different module. I've never worked with Gradle - what I need to do to add Google Play Services for Froyo?

1 Answers
Related