android studio 导入 annotations 注解框架
2016-06-16 15:54
483 查看
1.project 下的build.grade 添加:
2.app下的build.grade 添加:
3.dependencies 里添加:
// annotations classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
2.app下的build.grade 添加:
apply plugin: 'com.neenbedankt.android-apt' def AAVersion = '4.0.0'
3.dependencies 里添加:
// 注释框架 apt "org.androidannotations:androidannotations:$AAVersion" compile "org.androidannotations:androidannotations-api:$AAVersion" apt "org.androidannotations:roboguice:$AAVersion" compile "org.androidannotations:roboguice-api:$AAVersion" compile 'org.roboguice:roboguice:3.0.1'
相关文章推荐
- 从java内存分配角度分析android内存泄漏问题
- Android开发环境搭建之Eclipes (Mars)
- Android NDK *** could not be resolved
- android之存储篇_SQLite数据库_让你彻底学会SQLite的使用
- 使用Kotlin进行Android开发
- Android中Cursor类的概念和用法
- Android数据请求之Volley框架
- Android省市县三级联动 真实项目抽出 调用只需3行代码 源码免积分下载
- Android文摘学习2016.6.15
- AndroidStudio “gradle project sync failed”错误解决方法
- android自定义View
- 44-android5.0 Palette和Clipping
- 【Android】监听自定义通知栏消息事件
- Android Studio利用Gradle删除没有使用到的资源和代码文件
- 【Android】30、常见控件的使用方法——ImageView
- Android CountDownTimer倒计时器的使用
- Android代码规范
- Android用AIDL创建Service
- android开发之-百度地图的多语言问题
- Android Studio 插件 Statistic