Java 谷歌示例通用音乐播放器构建错误

Java 谷歌示例通用音乐播放器构建错误,java,android,android-studio,wear-os,Java,Android,Android Studio,Wear Os,下载并导入示例后,我遇到了类似这样的构建错误 确保您已经通过SDK管理器安装了Google存储库,并确保它是最新的。com.google.android.support:wearable的1.2.0版可以在那里找到。考虑到您的错误,我猜您已经安装了Google Repository,但它不是最新的。请确保您已经通过SDK管理器安装了Google Repository,并确保它是最新的。com.google.android.support:wearable的1.2.0版可以在那里找到。考虑到您的

下载并导入示例后,我遇到了类似这样的构建错误


确保您已经通过SDK管理器安装了Google存储库,并确保它是最新的。
com.google.android.support:wearable
的1.2.0版可以在那里找到。考虑到您的错误,我猜您已经安装了Google Repository,但它不是最新的。

请确保您已经通过SDK管理器安装了Google Repository,并确保它是最新的。
com.google.android.support:wearable
的1.2.0版可以在那里找到。考虑到您的错误,我猜您已经安装了它,但它不是最新的

Error:A problem occurred configuring project ':mobile'.
Could not resolve all dependencies for configuration ':mobile:_debugCompile'.
Could not find com.google.android.support:wearable:1.2.0.
     Searched in the following locations:

https ://jcenter.bintray.com/com/google/android/support/wearable/1.2.0/wearable-1.2.0.pom  
https ://jcenter.bintray.com/com/google/android/support/wearable/1.2.0/wearable-1.2.0.jar
         file:/Users/Jieyi/Downloads/android-UniversalMusicPlayer-master/mobile/libs/wearable-1.2.0.jar
         file:/Users/Jieyi/Downloads/android-UniversalMusicPlayer-master/mobile/libs/wearable.jar
         file:/Users/Jieyi/Library/Android/sdk/extras/android/m2repository/com/google/android/support/wearable/1.2.0/wearable-1.2.0.pom
         file:/Users/Jieyi/Library/Android/sdk/extras/android/m2repository/com/google/android/support/wearable/1.2.0/wearable-1.2.0.jar
         file:/Users/Jieyi/Library/Android/sdk/extras/google/m2repository/com/google/android/support/wearable/1.2.0/wearable-1.2.0.pom
         file:/Users/Jieyi/Library/Android/sdk/extras/google/m2repository/com/google/android/support/wearable/1.2.0/wearable-1.2.0.jar
     Required by:
         android-UniversalMusicPlayer-master:mobile:unspecified