Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/179.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Android Studio中使用哪个Google云端点(Python)客户端库Jar?_Android_Google Cloud Endpoints - Fatal编程技术网

在Android Studio中使用哪个Google云端点(Python)客户端库Jar?

在Android Studio中使用哪个Google云端点(Python)客户端库Jar?,android,google-cloud-endpoints,Android,Google Cloud Endpoints,我有一个谷歌云端点API,我想在Android Studio中使用。我创建了客户端库,它是一个zip文件 我在本文档的第4步: 他们使用Maven,并引用以下路径中的JAR文件: <your-path>/appengine-endpoints-helloendpoints-android/target/endpoints-client-libs/helloworld/target/helloworld-v1-1.17.0-rc-SNAPSHOT.jar Make a note o

我有一个谷歌云端点API,我想在Android Studio中使用。我创建了客户端库,它是一个zip文件

我在本文档的第4步:

他们使用Maven,并引用以下路径中的JAR文件:

<your-path>/appengine-endpoints-helloendpoints-android/target/endpoints-client-libs/helloworld/target/helloworld-v1-1.17.0-rc-SNAPSHOT.jar

Make a note of this location so you know where to get the JAR file later when you configure your Android project.
/appengine endpoints helloendpoints android/target/endpoints client libs/helloworld/target/helloworld-v1-1.17.0-rc-SNAPSHOT.jar
记下此位置,以便在以后配置Android项目时知道从何处获取JAR文件。
但是,我的Python API需要改用endpointscfg.py。zip文件具有不同的结构

以下文件夹中有Jar文件:

<base path>/ - one JAR file
<base path>/libs/ - 28 JAR files
<base path>/libs-sources/ - 27 JAR files
/-一个JAR文件
/libs/-28 JAR文件
/libs sources/-27 JAR文件
没有“目标”文件夹,也没有以“-SNAPSHOT.jar”结尾的文件


我应该将哪一个“添加为库”添加到我的Android Studio项目中,以便我可以从Android调用我的Google Cloud Endpoints(Python)API?

您需要一个包含生成的代码以及依赖项的库(在libs中,您在Android项目中还没有),如何检测哪些代码包含生成的代码?解压缩并检查。/-一个JAR文件