【发布时间】:2016-05-23 00:07:41
【问题描述】:
我刚刚完全按照this 教程中所说的内容运行了命令
/usr/local/google_appengine/endpointscfg.py get_client_lib java -bs gradle helloworld_api.NewsApi
我知道我的NewsApi 服务有效,我已经在 Google API 资源管理器上对其进行了测试。
我收到一条成功消息:API client library written to ./getNews-v1.zip
我解压 zip 并在文件夹 (getNews) 中找到以下文件:
没有 JAR 文件存在!!在我的 Android 客户端中使用什么来设置库?
有什么想法吗?谢谢!
【问题讨论】:
-
该库包含在 android 客户端中,使用 build.gradle(app) 中的“compile project(path: ':backend', configuration: 'android-endpoints')”这一行
-
感谢您的回复。如何指向 zip 以便 Android 客户端理解 API?你能举一个更具体的例子吗?那么这个教程错了吗:cloud.google.com/appengine/docs/python/endpoints/…
-
对不起...我实际上是在谈论 java google app engine 模块...没注意到它是 python
-
这很酷。知道我的情况出了什么问题吗?
标签: android python google-app-engine google-cloud-endpoints client-library