生成的云终端客户机库突然停止工作机库、终端、突然、客户

2023-09-06 03:38:23 作者:师太,别认真

通常情况下,当我用鼠标右键单击我的应用程序引擎项目,然后选择生成云终端客户端库使用谷歌的Eclipse插件,它生成的客户端库,并自动将它们复制到Android客户端项目。

Normally when I right-click my app engine project and choose "Generate cloud endpoint client library" using the Google plugin for Eclipse, it generates the client libraries and automatically copies them into the Android client project.

然而,没有明显的原因,客户端库不再被复制到客户端项目。事实上,它已被删除(所以现在我有很多错误,在我的项目,因为它找不到库)。

However, for no apparent reason, the client library is no longer being copied to the client project. In fact, it has been removed (so now I have a lot of errors in my project because it can't find the libraries).

我已经试过重新生成它完成,没有任何错误,但问题仍然存在客户端库。有趣的是,它似乎完成该过程稍微快一点比以前。

I've tried re-generating the client library which completes without any errors but the problem persists. Interestingly, it seems to complete the process slightly faster than it used to.

我试图清理所有项目。

我已经试过手动从端点库添加生成的源文件夹,但我不能因为生成的文件夹不再存在。也有不再在Java构建路径为客户项目的任何引用他们。

I've tried manually adding the generated source folders from endpoint-libs, but I can't because the generated folders no longer exist. There is also no longer any reference to them in the Java build path for the client project.

我已经试过检查出的code,我知道该插件工作的旧版本,并发生问题有太多这使我相信它是不是在我的code的一个问题。

I've tried checking out an older version of the code where I know the plugin worked, and the problem occurred there too which leads me to believe it is not a problem in my code.

我也尝试删除该项目在Eclipse和重新导入的一切。

I also tried deleting the project in eclipse and re-importing everything.

发生了什么?我以前多次使用过的生成功能和它的工作,每次到现在。我的认为的是做一个项目清理后启动。

What happened? I've used the generate function many times before and it worked every time until now. I think it started after doing a project clean.

的更新

我跟着建议这里,并能生成我的端点一个客户端库,但实际。这是需要未生成jar文件(生成的自述文件甚至明确规定的jar文件名和位置,但它不存在)。

I followed the suggestion here and was able to generate the client library for one of my endpoints, but the actual .jar file which is needed was not generated (the generated readme file even specifically states the filename and location of the jar but it does not exist).

推荐答案

问题跟踪表明,这一问题得到解决(的 HTTPS://$c$c.google.com/p/googleappengine/issues/detail ID = 9746 )?

The issue tracker shows that this issue was resolved (https://code.google.com/p/googleappengine/issues/detail?id=9746).

此外@howettl上面贴的,这个问题是固定的意见。

Also @howettl posted above in the comments that this issue was fixed.

有对这个问题的一些问题跟踪自己被卷入远程服务器和修复不需要的更新GPE。这似乎与这样的事实,有用于产生一些云端点code所用的GPE谷歌的web服务。

There were some questions in the issue tracking about remote servers being involved and the fix not requiring an update to the GPE. This appears to be related to the fact that there is a Google web service used by the GPE for generating some of the cloud endpoint code.

如果该Web服务无法正常工作(路由的问题,服务器问题等),或者你没有互联网连接,您将无法生成(或重新生成)云终端为您的项目。

If this web service is not working (routing issue, server issue, etc), or you don't have a connection to the internet, you will not be able to generate (or regenerate) cloud endpoints for your project.

另外,如果你们这一代是缓慢的,它可能是由于你的网络连接速度。

Also if your generation is slow, it might be due to your internet connection speed.