我希望有人能帮我弄清楚如何运行google的speech to text api。下面是错误:PHP Fatal error: Uncaught Error: Class 'Google\Cloud\Speech\SpeechClient(55): Google\Cloud\Samples\Speech
(GoogleCredentialsProvider.java:70) at com.google.api.gax.rpc.ClientContext.create(ClientContext.java:168) at com.google.cloud.speech.v1p1beta1.stub.GrpcSpeechStub.create(GrpcSpeechStub.java:95)在com.google.cloud.speech.v1p1beta1
我在Eclipse中创建了一个新的gradle项目,将compile 'com.google.cloud:google-cloud-speech:1.1.0'和compile 'com.google.cloud:google-cloud-bigquery:1.70.0'添加到依赖项中,然后将示例代码从链接复制到主类。下面是整个类脚本(项目中唯一的脚本): im