我无法将Google Play游戏服务连接到我的libgdx项目。 Gradle说SDK没有Google Repository:
我的SDK路径有效
# Location of the android SDK
sdk.dir=D\:\\Android\\ADT\\sdk
我有来自
的google-play-services.jarD:\Android\ADT\sdk\extras\google\google_play_services\libproject\google-play-services_lib\libs
但Gradle不承认。
Error:Could not find com.google.android.gms:play-services:8.4.0.
Searched in the following locations:
https://repo1.maven.org/maven2/com/google/android/gms/play-services/8.4.0/play-services-8.4.0.pom
https://repo1.maven.org/maven2/com/google/android/gms/play-services/8.4.0/play-services-8.4.0.jar
https://oss.sonatype.org/content/repositories/snapshots/com/google/android/gms/play-services/8.4.0/play-services-8.4.0.pom
https://oss.sonatype.org/content/repositories/snapshots/com/google/android/gms/play-services/8.4.0/play-services-8.4.0.jar
https://oss.sonatype.org/content/repositories/releases/com/google/android/gms/play-services/8.4.0/play-services-8.4.0.pom
https://oss.sonatype.org/content/repositories/releases/com/google/android/gms/play-services/8.4.0/play-services-8.4.0.jar
Required by:
BitMazes:android:1.0
我已经清理,重建,重新加载了存储库,但没有任何事情发生。
build.gradle:pastebin.com/RE9LRZjK
Stack说>>it<<可能对我有帮助,但不是。这不是我的情况。