zoukankan      html  css  js  c++  java
  • Android开发框架androidannotations的使用

    Android开发框架AndroidAnnotations,它除了有依赖注入的特性以外,还集成了Ormlite,Spring-android中的REST模板。使用起来非常方便,大大提高了开发效率。

     使用步骤

    1.下载 http://androidannotations.org/

    2.建一个android项目,将androidannotations-api-3.0.1.jar复制到libs目录下,

    在根目录建一个文件夹compile-libs,将androidannotations-3.0.1.jar复制进去

    3.设置属性:右键->Properties->Java Compiler->Annotation Processing ,选中Enable project specific settings。

    在Annotation Processing的子项Factory Path页面,选中Enable project specific settings,

    然后添加编译需要的jar包。点“Add JARs”将之前complie-libs目录下的androidannotations-3.0.1.jar导入,保存。

    具体使用可参考http://androidannotations.org/ 有说明文档以及Sample使用等。

    参考http://blog.csdn.net/nupt123456789/article/details/23790161

  • 相关阅读:
    008 WEBmvc的自动配置
    007 springboot的日志问题
    006 自动配置
    005 profile
    004 引入spring的xml配置文件
    003 场景启动器
    002 依赖管理
    001-属性文件
    TypeError: FileBox.fromUrl is not a function
    npm 的是报错 @XXXXX postinstall 处理
  • 原文地址:https://www.cnblogs.com/linlf03/p/4601825.html
Copyright © 2011-2022 走看看