Android Studio 插件使用

1、 Android ButterKnife Zelezny (Android视图注入库)

    安装方法:html

ButterKnife Zelezny的安装方法

    配置方法:java

    在Module的build.gradle中添加以下配置:    android

apply plugin: 'com.neenbedankt.android-apt'//增长这一句
dependencies {
    compile 'com.jakewharton:butterknife:8.0.1' // 注解View
    apt 'com.jakewharton:butterknife-compiler:8.0.1' // 注解View
}

    在Project的build.gradle中添加以下配置:git

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.5.0'
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' //增长这一句
    }
}

    使用方法:github

Android ButterKnife的使用方法

2、Holo Colors Generator(待续)

    安装方法:chrome

Holo-Colors-Generator安装方法

    经过自定义Holo主题颜色生成对应的Drawable和布局文件json

    插件下载地址:https://plugins.jetbrains.com/plugin/7366?pr=app

    插件源码地址:https://github.com/jeromevdl/android-holo-colors-idea-plugin框架

3、Robotium Recorder(自动化测试框架,待续)

    Robotium Recorder是一个自动化测试框架,用于测试在模拟器和Android设备上原生的和混合的移动应用程序。Robotium Recorder可让你记录测试案例和用户操做。你也能够查看不一样Android活动时的系统功能和用户测试场景。ide

    插件下载地址:https://plugins.jetbrains.com/plugin/7513?pr=

    插件官方网址:http://robotium.com/

4、jimu Mirror(迅速测试布局,待续)

    安装方法:

迅速测试布局的插件

    插件下载地址:https://plugins.jetbrains.com/plugin/7517?pr=

    插件教程地址:http://www.itnose.net/detail/6204426.html

5、GsonFormat(快速格式化json数据,自动生成实体类参数)

    插件下载地址:https://plugins.jetbrains.com/plugin/7654?pr=androidstudio

    插件源码地址:https://github.com/zzz40500/GsonFormat

    插件教程:http://blog.csdn.net/dreamlivemeng/article/details/51262538

GsonFormat使用方法6、Android Drawable Importer(待续)

    为了适应全部Android屏幕的大小和密度,每一个Android项目都会包含drawable文件夹。任何具有Android开发经验的开发人员都知道,为了支持全部的屏幕尺寸,你必须给每一个屏幕类型导入不一样的画板。Android Drawable Importer插件能让这项工做变得更容易。它能够减小导入缩放图像到Android项目所需的工做量。Android Drawable Importer添加了一个在不一样分辨率导入画板或缩放指定图像到定义分辨率的选项。这个插件加速了开发人员的画板工做。

    插件下载地址:https://plugins.jetbrains.com/plugin/7658?pr=androidstudio

    插件源码地址:https://github.com/winterDroid/android-drawable-importer-intellij-plugin

    插件教程地址:http://blog.csdn.net/lee_sire/article/details/49684385

7、android-selector-chapek / SelectorChapek for Android(根据资源自动生成相应的selector,待续)

    插件下载地址:https://plugins.jetbrains.com/plugin/7298

    插件源码地址:https://github.com/inmite/android-selector-chapek

8、Android Parcelable code generator(快速实现Parcelable接口)

    插件下载地址:https://plugins.jetbrains.com/plugin/7332?pr=

    插件源码地址:https://github.com/mcharmas/android-parcelable-intellij-plugin/

    插件教程地址:http://blog.csdn.net/kroclin/article/details/40902721

9、Android Postfix completion(根据后缀快速完成代码)

    插件下载地址:https://plugins.jetbrains.com/plugin/7775?pr=

    插件教程地址:http://blog.jetbrains.com/idea/2014/03/postfix-completion/

10、Lifecycle Sorter(能够根据Activity或者fragment的生命周期对其生命周期方法位置进行前后排序。)

    插件下载地址:https://plugins.jetbrains.com/plugin/7742?pr=

    插件源码地址:https://github.com/armandAkop/Lifecycle-Sorter

    使用方法:

    工具栏中Code->Sort Lifecycle Methods->选中其中一个。

    快捷键:Ctrl+Alt+K / Ctrl+Alt+Shift+k

11、ADB WIFI 无需root就能wifi调试

    插件下载地址:https://plugins.jetbrains.com/plugin/7856?pr=

    插件源码地址:https://github.com/layerlre/ADBWIFI

12、CodeGlance(快速定位代码)

    插件下载地址:https://plugins.jetbrains.com/plugin/7275?pr=

    插件源码地址:https://github.com/Vektah/CodeGlance

十3、JSONOnlineViewer

    可实现直接在android studio中调试接口数据,能够选择请求类型,自定义请求头及请求体,json数据格式化后展现

    插件下载地址:https://plugins.jetbrains.com/plugin/7838?pr=

十4、FindBugs-IDEA

    经过FindBugs帮你找到隐藏的bug及很差的作法。

    插件下载地址:https://plugins.jetbrains.com/plugin/3847?pr=

    插件源码地址:https://github.com/andrepdo/findbugs-idea/tree/master

十5、JavaDoc(添加注释,可自定义模板。)

    插件下载地址:https://plugins.jetbrains.com/plugin/?idea_ce&pluginId=7157

    插件源码地址:https://github.com/setial/intellij-javadocs

十6、Android strings.xml tools(待续)

    能够用来管理Android项目中的字符串资源。它提供了排序Android本地文件和添加缺乏的字符串的基本操做。虽然这个插件是有限制的,但若是应用程序有大量的字符串资源,那这个插件就很是有用了。

    插件下载地址:https://plugins.jetbrains.com/plugin/7498?pr=

    插件源码地址:https://github.com/constantine-ivanov/strings-xml-tools

十7、lint-cleaner-plugin(删除未使用的资源,包括String字符串,颜色和尺寸,待续)

    这是一个Gradle插件,因此如何配置能够去github的源码上看。

    插件源码地址:https://github.com/marcoRS/lint-cleaner-plugin

十8、codota(待续)

    该网站搜集了大量的代码,号称超过700W的代码实例。提供了chrome和as插件。

    插件下载地址:https://plugins.jetbrains.com/plugin/7638?pr=

    插件官方网址:https://www.codota.com/

十9、ECTranslation(待续)

    一个androidstudio上面的翻译插件(将英文翻译为中文)。 暂时只能以jar的方式安装。jar下载地址以及使用方法在github上的源码地址上都有详细描述。

    插件源码地址:https://github.com/Skykai521/ECTranslation

二10、安卓自动生成代码插件-Android code Generator

    插件下载位置

    

 

50个安卓开发者应该熟悉的Android Studio技巧和资源

 

50个安卓开发者应该熟悉的Android Studio技巧和资源

相关文章
相关标签/搜索