简体   繁体   English

更新后,AppEngine Connected Android项目无法正常工作

[英]AppEngine Connected Android Project not working after update

I updated my SDK tools and SDK platform tools to the latest and to my horror found that AppEngine Connected Android project's emulator not launching if I do Debug as > Local AppEngine connected Android Project . 我将我的SDK工具和SDK平台工具更新为最新版本,并且令我震惊的是,如果我执行Debug as> Local AppEngine connected Android Project进行调试 ,则AppEngine Connected Android项目的模拟器无法启动。

I am working on a project and also have done quite a lot of work using this plugin option. 我正在做一个项目,并且使用此插件选项也做了很多工作。 Is there a way that I can still develop. 有没有办法我仍然可以发展。 Maybe someway I could start the AppEngine Seperately and Android Project Separately and still they would work( debugging as remote AppEngine is not a problem). 也许以某种方式我可以分别启动AppEngine和Android Project,但它们仍然可以工作(作为远程AppEngine进行调试不是问题)。

To what I have read, I think they doing it because they are deprecating C2DM messaging. 就我所读的内容而言,我认为他们这样做是因为他们不赞成使用C2DM消息传递。 And instead they bringing the option of Make AppEngine Backends. 相反,他们带来了“制作AppEngine后端”选项。 But unfortunately they have still not worked on the docs or support. 但不幸的是,他们仍然没有使用文档或支持。

Is there any way I can still keep working till they release the docs or how can I make the transition myself? 在他们发布文档之前,我还有什么办法可以继续工作,还是我自己可以进行过渡?

Here is how I debug localy since the sdk update: 这是自sdk更新以来我调试本地语言的方法:

  • Debug the app engine project as Web Application 将App Engine项目调试为Web应用程序
  • Run the AVD with the manager 与管理器一起运行AVD
  • Debug the android project as Android Application 将android项目调试为Android应用程序

Remotely: 远程:

  • Run the AVD with the manager 与管理器一起运行AVD
  • Run the android project as Android Application 将Android项目作为Android应用程序运行

Hope this helps. 希望这可以帮助。

Edit: 编辑:

After debugging remotely it seems that the AVD still speaks to the remote server eventhough you wipe out data and ask for "Debug android project". 远程调试后,即使您擦除数据并请求“调试android项目”,AVD似乎仍会与远程服务器对话。 In this case do a "Debbug as local app engine connected android application". 在这种情况下,请执行“将调试作为本地应用程序引擎连接到android应用程序”。 This will start the local server but not the Android app. 这将启动本地服务器,但不会启动Android应用程序。 Then Debug the android project as Android Application and it will talk to the local server. 然后将android项目作为Android应用程序进行调试,它将与本地服务器通信。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM