我从这里下载了android简单演示helloworld客户端项目,我没有修改代码:
https://github.com/grpc/grpc-java/tree/master/examples/android/helloworld
在构建gradle时,我会得到错误:
Error:(58, 13) Failed to resolve: io.grpc:grpc-protobuf-lite:1.8.1-SNAPSHOT
Error:(57, 13) Failed to resolve: io.grpc:grpc-okhttp:1.8.1-SNAPSHOT
Error:(59, 13) Failed to resolve: io.grpc:grpc-stub:1.8.1-SNAPSHOT格莱德尔:
https://github.com/grpc/grpc-java/blob/master/examples/android/helloworld/app/build.gradle
我按照这里的说明:https://grpc.io/docs/tutorials/basic/android.html
但我不清楚我是否需要做更多的工作。我认为,当您放置“编译”库时,这些库是自动从存储库下载的。
我有一台windows机器,我没有在其中安装任何grpc库,我需要下载和安装什么吗?
发布于 2017-12-15 15:27:54
您需要签出特定的发布标记:git checkout v1.8.0
我得用发了一份公关来解决这个问题。Android快速启动没有受到这个问题的困扰。
https://stackoverflow.com/questions/47832313
复制相似问题