How to run “Watchface for wearos” codelab?

大兔子大兔子 提交于 2020-06-29 03:42:21

问题


I am new to Android and WearOS and also to Gradle, and I just want to follow along this Codelab:

https://codelabs.developers.google.com/codelabs/watchface/index.html#0

So I downloaded Android Studio and imported the project

https://github.com/googlecodelabs/watchface

but when compiling I just get the error

Failed to resolve: com.google.android.support:wearable:2.0.0

I already tried to change SDK Versions and other things, but it didn't help. I'm pretty sure it's just a few version settings, but I have no idea where to look.

Did anyone maybe complete this codelab and made it run with the "actual" version of AndroidStudio?

thanks, Thorsten

来源:https://stackoverflow.com/questions/62382574/how-to-run-watchface-for-wearos-codelab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!