2

我在带有共享文件夹的 Android Connected AppEngine 项目中使用 RequestFactory。Eclipse AnnotationProcessor(进行接口验证)适用于 AppEngine 项目,但不会为 Android 项目生成 MyRequestFactoryDe​​obfuscatorBuilder.java 类。当我构建项目时,它似乎没有做任何事情。我的项目属性如http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation中所述。

现在我的问题是:如何获得接口验证不起作用的任何信息?我的日志或“问题”下没有任何内容。

4

1 回答 1

1

I had the same problem - both projects were set up as per the link you provided.

I fixed it by changing the compiler version of BOTH the app engine and the Android project to 1.6.

The app engine was 1.4 when I imported it and I changed it to 1.6 (even though the workspace is set to 1.6). It didn't start working until I changed the compiler version of the Android project though. It was automatically set to 1.5.

Good luck

于 2012-01-11T14:21:00.833 回答