App Engine连接Android项目 - 找不到... RequestFactorySource

时间:2012-04-01 21:55:50

标签: android eclipse google-app-engine gwt requestfactory

自从更新我的SDK后,我甚至无法运行默认的App Engine连接的Android应用程序。我已经删除了eclipse和我的所有库,并重新安装它们没有成功。我已经按照Google的教程阅读了这封信,并验证了验证工具是否在我的构建路径中。这是我得到的错误(是的,requestfactory-client.jar在我的库中)。

dalvikvm(375): Could not find method com.google.web.bindery.requestfactory.vm.RequestFactorySource.create, referenced from method com.Util.getRequestFactory
dalvikvm(375): VFY: unable to resolve static method 84: Lcom/google/web/bindery/requestfactory/vm/RequestFactorySource;.create (Ljava/lang/Class;)Lcom/google/web/bindery/requestfactory/shared/RequestFactory;

我现在已经完全失去了,并且要拔掉一些头发,请帮忙。感谢

1 个答案:

答案 0 :(得分:1)

就我而言,这是新ADT 17的问题以及它如何处理库项目。这篇文章是如何解决它的一个很好的解释:

http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17

我也是这样疯狂的。希望这会有所帮助。

验证步骤也很重要(就像你一样):

http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation