Android构建错误Google Play服务

Android构建错误Google Play服务,android,Android,我正在编译一个Android项目,出现以下错误: A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_debugCompile'. > Could not find any version that matches com.google.android.gms:play-services:+. Requi

我正在编译一个Android项目,出现以下错误:

A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
   > Could not find any version that matches com.google.android.gms:play-services:+.
     Required by:
         MyApp:app:unspecified
我正在使用Android Studio

更新:

AndroidManifest.xml文件具有以下两种设置:

 <!-- Target -->
    <uses-sdk
        android:minSdkVersion="9"
        android:targetSdkVersion="9" />

在我的Android Studio模块设置中,我有以下设置:

我还安装了谷歌存储库和播放服务


我已经安装了Google Support Library和Google Play Library,但我仍然收到相同的错误。这可能是一个愚蠢的问题,但您是否同时拥有最新版本的Play services和Google repository?我已更新了该问题的更多详细信息。它没有使用屏幕截图中的设置项目SDK;它使用local.properties文件中的SDK。确保该文件指向的SDK已安装Google存储库;也许您有多个SDK,而它实际使用的SDK没有存储库。