我尝试在google-api-java-client中使用PredictionSample,但使用ClientLogin身份验证时出现错误:User is not a trusted tester我已经搜索了文档和示例,但没有找到解决方案。是否可以使用google-api-java-client执行hello_world示例中所做的操作。
我想为Google Documents List API创建一个Android客户端应用程序,考虑到它可能在不久的将来被Google Drive API取代。因此,我使用google- API -java-client实现了身份验证,如果需要的话,这可能会简化到新API的过渡。关于这个问题,我没有找到比@yanivinbar写的以下介绍更好的信息了:
我试图使用google client for OAuth2.0创建一个简单的第三方应用程序来访问基于OAuth2.0的app服务。private static final HttpTransport HTTP_TRANSPORT = new ApacheHttpTransport();进口com.google.api.client.http.HttpTransport;它是一个简单的Web应用程序项目,在Eclipse中
我使用Google Api Java Client使用服务帐户()登录我的应用程序,但是当我想要升级到15.0rc (或14.0)时,我遇到了一些问题: GoogleCredential credential = new GoogleCredential.Builder().setTransport(HTTP_TRANSPORT)The type com.google.api.client.auth.oauth2.Credential$Builder cannot be resolved. It is indirectly referenced from re