从 ADT 23 开始,似乎无法将 Annotation Processor Factory Path 添加到项目中:
项目>属性>Java编译器中没有“注释处理”项。
有谁知道如何将 androidannotations-X.X.X-api.jar 添加到最后一个 Eclipse ADT 中的 annotaions 处理中?
最佳答案
这是一个已知的 problem的 ADT 包,并将在 ADT 23.0.3 中修复。同时,您可以通过 downloading 解决此问题标准 Eclipse 发行版和 installing the ADT plugin到那个。或者,如果您想使用现有的 ADT 包,您可以按照 here 中的说明安装必要的 JDT 插件。 .
另请注意,您不必像在 OP 中编写的那样添加 androidannotations-X.X.X-api.jar。您必须将 androidannotations-X.X.X.jar 添加到注释处理工厂,并将 androidannotations-X.X.X-api.jar 添加到您的类路径(库)。
关于android-annotations - 带有 ADT 23 的 AndroidAnnotations Eclipse 配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24570629/