Saturday, March 26, 2016

Android Studio 开发常用的插件工具

Android 开发中常用的插件,水滴石穿。

1   Butterknife 

First Method:
compile 'com.jakewharton:butterknife:7.0.1'


Two Method:
buildscript {
  dependencies {
    classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
  }
}

allprojects {
  repositories {
    maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
  }
}
apply plugin: 'com.neenbedankt.android-apt'

dependencies {
  compile 'com.jakewharton:butterknife:8.0.0-SNAPSHOT'
  apt 'com.jakewharton:butterknife-compiler:8.0.0-SNAPSHOT'
}




2    Logger

Logger 日志是我们常用的工具,通过日志,可以定位错误出现的问题!

repositories {
  maven { url "https://jitpack.io" }
}

dependencies {
  compile 'com.github.orhanobut:logger:1.12'
}

不错的工具:

https://github.com/GeekHades/logger






No comments:

Post a Comment