简体   繁体   English

无法在eclipse中创建AppEngine连接的Android项目?

[英]Not able to create AppEngine connected Android project in eclipse?

I've installed google plugin for eclipse. 我为eclipse安装了谷歌插件。 On creating project using New > project > AppEngine Connected Android Project , the wizard gets stuck at Generating cloud endpoints library . 在使用New> project> AppEngine Connected Android Project创建项目时,向导会陷入Generating cloud endpoints library On investigating, I found out that the following error is being thrown 在调查时,我发现抛出了以下错误

RegisterActivity cannot be resolved to a type 

How to tackle this issue? 如何解决这个问题?

The "AppEngine Connected Android Project" is old. “AppEngine Connected Android Project”已经过时了。 On my installation of Eclipse 4.2 and the current GPE I don't see that option. 在我安装Eclipse 4.2和当前的GPE时,我没有看到该选项。 Endpoints has replaced that. 端点已经取代了它。

The easiest way for you to proceed, IMO, is to create an Android project, then use the "Generate AppEngine Backend" wizard (ie select the Android project in the package explorer, then find that wizard on the Google sub-menu). IMO的最简单方法是创建一个Android项目,然后使用“Generate AppEngine Backend”向导(即在包浏览器中选择Android项目,然后在Google子菜单上找到该向导)。

That will create an App Engine project with endpoints, and configure it to automatically copy its endpoint libraries to your Android project when you select 'generate cloud endpoint libraries'. 这将创建一个带有端点的App Engine项目,并将其配置为在您选择“生成云端点库”时自动将其端点库复制到您的Android项目。

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

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