无法解析符号'GooglePlayServicesClient'

TRX*_*TRX 7 android gradle google-play-services android-studio build.gradle

我正在尝试将项目从Eclipse迁移到Android Studio,该项目可以在Eclipse中构建并成功导入到Android Studio中,但是,我Cannot resolve symbol 'GooglePlayServicesClient'在Android Studio中遇到错误.

我按照官方教程在Android Studio中导入了Google Play服务,而com.google.android.gms.common.ConnectionResult在我的项目中使用的其他包" "也没有同样的问题.只有' GooglePlayServicesClient'无法解决.

问题

我也尝试过清理并重建我的项目,但问题仍然存在.我究竟做错了什么?

更新:

我的 build.gradle

...
dependencies {
    compile project(':libraryListViewAnimations')
    compile 'com.android.support:support-v4:21.0.3'
    compile 'com.android.support:appcompat-v7:21.0.3'
    compile 'com.google.android.gms:play-services:+'
    compile 'com.google.android.gms:play-services:7.0.0'
    compile files('libs/activation.jar')
    compile files('libs/additionnal.jar')
    compile files('libs/commons-net-3.1-sources.jar')
    compile files('libs/commons-net-3.1.jar')
    compile files('libs/mail.jar')
}
Run Code Online (Sandbox Code Playgroud)

Dev*_*ere 11

GooglePlayServicesClient已过时,不再包含在Google Play Services 7.x库中.Google建议改用GoogleApiClient.

请参阅Android开发人员文档中的访问Google API:

"注意:如果您的现有应用程序使用GooglePlayServicesClient的子类连接到Google Play服务,则应尽快迁移到GoogleApiClient."