AS常用插件-持续更新

之前的系列文章:

AS主题+配置备份+Logcat颜色配置
AS插件-Android Drawable Importer
AS插件-GsonFormat
AS插件-android-selector-chapek
AS插件-Android Parcelable code generator.

这里就不单独的将自己常用的插件一个一篇博文了,毕竟这种插件工具的使用是很简单的~

都是基于Window系统 囧~


adb-idea

支持直接在AS面板中进行ADB操作

  • Uninstall App
  • Kill App
  • Start App
  • Restart App
  • Clear App Data
  • Clear App Data and Restart

双击Shift弹出Search Everywhere,然后输入ADB

AS常用插件-持续更新_第1张图片

或者使用快捷键 ctrl + alt +a
AS常用插件-持续更新_第2张图片

Download and install ADB Idea directly from Intellij / Android Studio: Preferences/Settings->Plugins->Browse Repositories

Alternatively, you can dowload the plugin from the jetbrains plugin site and install it manually in: Preferences/Settings->Plugins->Install plugin from disk


android-material-design-icon-generator-plugin

详细安装请查看github指导

AS常用插件-持续更新_第3张图片


leakcanary

Square最近刚开源的一个非常有用的工具,强烈推荐,帮助你在开发阶段方便的检测出内存泄露的问题,使用起来更简单方便

Getting started:

In your build.gradle:

dependencies {
debugCompile ‘com.squareup.leakcanary:leakcanary-android:1.4-beta2’
releaseCompile ‘com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2’
testCompile ‘com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2’
}

In your Application class:

public class ExampleApplication extends Application {

  @Override public void onCreate() {
    super.onCreate();
    LeakCanary.install(this);
  }
}

You’re good to go! LeakCanary will automatically show a notification when an activity memory leak is detected in your debug build.


CheckStyle

请查看 http://blog.csdn.net/ownwell/article/details/49023727 ,博主写的很详细了,感谢分享。

知乎上大神们的回答

你可能感兴趣的:(AndroidStudio手札)