annotationandroid @ idealj

来源:互联网 发布:正版办公软件价格 编辑:程序博客网 时间:2024/06/06 06:40

annotationandroid在编译时生成classname_的类。

在idealj下要配置

perefernce ==>compile==>annotation enabled, lib==>compile-lib/androidannotation, generate source: gen ,realattive to module root

http://www.ashokgelal.com/2012/12/setting-up-intellij-idea-12-with-maven-actionbarsherlock-roboelectric-androidannotations/

另外运行sample时遇到重复类的情况要把lib里导出的多余annnotationandroid lib除掉


0 0
原创粉丝点击