Android Butterknife 所需要的依赖
2017-10-09 19:23
239 查看
•在项目的project 的build.gredle 文件中的dependencies标签下添加。
•在module的build.gredle 文件中添加
•在module的build.gredle 文件中的dependencies标签中添加
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.2' classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' } } allprojects { repositories { jcenter() } } task clean(type: Delete) { delete rootProject.buildDir }
•在module的build.gredle 文件中添加
apply plugin: 'android-apt'
•在module的build.gredle 文件中的dependencies标签中添加
compile 'com.jakewharton:butterknife:8.4.0' apt 'com.jakewharton:butterknife-compiler:8.4.0'
相关文章推荐
- 【Android】Studio 依赖 ButterKnife 黄油刀 时出现 空指针异常
- Dagger,ButterKnife,Roboguide,AndroidAnnotations框架的依赖注入浅析
- Android依赖注入:Dagger、RoboGuice和ButterKnife
- Android依赖注入:Dagger、RoboGuice和ButterKnife比较
- Android依赖注入:Dagger、RoboGuice和ButterKnife
- AndroidStudio 依赖 ButterKnife 出现的空指针异常
- Android依赖注入:Dagger、RoboGuice和ButterKnife
- Android开发环境为什么需要依赖jvm
- Android开源框架——依赖注入ButterKnife
- Android - butterKnife与realm同时依赖;可能出现app:transformResourcesWithMergeJavaResForDebug错误
- 关于Ubuntu64位系统android开发需要安装依赖包
- Android 依赖注入 ButterKnife 基本使用
- 为android-butterknife-zelezny添加依赖关系
- eclipse android 依赖工程的时候,需要在一个路径下
- androidstudio需要的权限依赖
- Android依赖注入:Dagger、RoboGuice和ButterKnife
- 【Android】Studio 依赖 ButterKnife 黄油刀 时出现 空指针异常
- 各种需要的依赖(Android 开发)
- AndroidStudio 依赖 ButterKnife 出现的空指针异常 8.0版本以上
- 2017年伊始,你需要尝试的25个Android第三方库