gpt4 book ai didi

java - Google 示例通用音乐播放器构建错误

转载 作者:太空宇宙 更新时间:2023-11-04 13:48:23 25 4
gpt4 key购买 nike

下载并导入示例后,我遇到了这样的构建错误 https://github.com/googlesamples/android-UniversalMusicPlayer

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

最佳答案

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

关于java - Google 示例通用音乐播放器构建错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30582324/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com