我按照官方教程在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')
}