Transferred from: http://blog.csdn.net/alpha58/article/details/62881144
Android developers are now basically using Android Studio for development (if you're still using eclipse, you can do it anyway). Using a good Android Studio plugin can reduce our workload a lot.
1.GsonFormat
Quickly convert a JSON string into a Java bean, sparing us the process of writing a Java bean based on a JSON string.
How to use: Shortcut key alt+s You can also use Alt+insert to select Gsonformat
2.Android Butterknife Zelezny
With Butterknife implementation of annotations, never write Findviewbyid, think about the cool AH. Select the resource ID of the layout XML in Activity,fragment,adapter to automatically generate Butterknife annotations.
How to use: Ctrl+shift+b Select the options shown on the diagram
3.Android Code Generator
Quickly generate corresponding activity,fragment,adapter,menu based on the layout file.
4.Android parcelable Code Generator
JavaBean serialization, fast implementation of the Parcelable interface.
5.Android Methods Count
Show the number of methods in a dependent library
6.Lifecycle Sorter
The life cycle method location can be sorted according to activity or fragment life cycle, shortcut CTRL + ALT + K
7.CodeGlance
On the right you can preview the code for quick positioning
8.findbugs-idea
Find bugs for plugins, Android Studio also provides code review features (Analyze-inspect ... )
9.ADB WIFI
Debug your app wirelessly with WiFi without root access
You can also refer to the following articles:
Android WiFi Wireless Debugging app new gameplay adb WIFI
10.AndroidPixelDimenGenerator
Android Studio automatically generates the Dimen.xml file plugin
11.JsonOnlineViewer
requesting, debugging interfaces in Android studio
12.Android Styler
A plug-in that automatically generates style code based on XML
Usage:
A. Copy lines with the future style from your Layout.xml file
B. Paste it to Styles.xml file with Ctrl+shift+d (or context menu)
C. Enter name of new style in the modal window
D. Your style is prepared!
13.Android drawable Importer
This is a very powerful picture import plugin. It imports the Android icon with the material icon drawable, Bulk Import drawable, multi-source import drawable (that is, the import of a picture of various dpi corresponding to the picture)
14.SelectorChapek for Android
The selector file is automatically generated from the resource file name.
15.GenerateSerialVersionUID
Implementing serializable serialization Beans
Adds a new action ' serialversionuid ' in the Generate menu (ALT + INS). The action adds an SERIALVERSIONUID field in the current class or updates it if it already exists, and assigns it the same Value the standard ' serialver ' JDK tool would return. The action is a visible when idea is not a rebuilding its indexes, the class is serializable and either no Serialversionu ID field exists or its value was different from the one of the ' serialver ' tool would return.
16.genymotion
Faster Android Simulator
17.LeakCanary
It helps you to detect memory leaks conveniently during the development phase, which is easier and easier to use.
You can refer to the following articles:
Leakcanary instructions for use in Chinese
18.Android Postfix Completion
Can be based on the suffix to quickly complete the code, this belongs to the expansion bar, the system already has these functions, such as sout, notnull, etc., this plugin in the original based on the addition of some new features, I would like to do is through the original author's code to customize the function, it is more cool
19.Android Holo Colors Generator
Generate corresponding drawable and layout files by customizing the Holo theme Colors
20.dagger-intellij-plugin
Dagger Visual aids
21.GradleDependenciesHelperPlugin
Maven Gradle relies on support for auto-completion
22.RemoveButterKnife
Butterknife This third-party library after each update, the binding view of the annotations will change, from bind, to inject, and then to BindView, make a lot of people do not dare to upgrade, once upgraded, there will be a huge amount of code needs to be manually modified, very painful
When we have some great code that needs to be used for other projects, we find that the project has a limited use of third-party libraries, we can't use butterknife, and then we have to change from annotations back to Findviewbyid
For the above two cases, if the view is less good to say, if there are dozens of view, then we manually delete the annotations, write Findviewbyid statement, it is a nightmare (don't ask me why I know this is a nightmare)
So why not use a plug-in for a regular, repetitive, and simple job? So the idea of Removebutterknife appeared.
Specific introduction
23.AndroidProguardPlugin
One-click Build Project obfuscation code plug-in, it is worth you to install ~ (but there may be some third-party project confusion has not been added completely)
24.otto-intellij-plugin
The Otto event navigation tool.
25.eventbus-intellij-plugin
Eventbus Navigation plug-in (for the latest version of Eventbus 3.0.0 seems to be invalid, please replace it with Eventbus3-intellij-plugin this plugin address in 51st of this article)
26.idea-markdown
Markdown Plug-in
27.Sexy Editor
Set the background of the as code editing area
First click on the interface Settings button to enter the Settings screen, select Plugins, right Select Browser ..., enter sexy ... The following automatically pops up the candidate plugin, right click Install installation
Need to restart as after successful installation
After the restart is complete, enter the settings screen select other Setting under the sexy Editor, the right insert one or more pictures, the other settings above can set the azimuth interval transparency and so on, after the setup is complete, to close open files, reopen the project file can be edited in code Area displays the inserted picture as a background map of the code editing area.
28.folding-plugin
Plug-in for layout file grouping
29.android-dpi-calculator
DPI Compute plug-in
Use:
Or
30.gradle-retrolambda
Using the lambda expression plug-in in Java 6 7
Modify the compiled JDK to JAVA8:
31.Android Studio prettify
You can write strings in your code in the String.xml file
Select the string and right-click the image shown in the
This plugin can also automatically write Findviewbyid
32.Material Theme UI
Add material theme to your as
33..ignore
We all know that in git you want to filter out some of the files that you don't want to commit, you can add the files to the. Gitignore, and. Gitignore this Android Studio plugin chooses the template according to different language, so you don't have to bother to add some files. And there are auto-completion features, filter files no longer copy the file name. When we do the project, not all the files are to be submitted, such as the built build folder, the local configuration file, each module generated IML files, but every time we add,commit will accidentally add them up, and gitignore is to solve this pain point, If you don't want to submit a file, you can add it to the file when you create the project and block out some common things.
34.checkstyle-idea
Checkstyle-idea is a code-style plug-in that checks code specifications and styles like naming conventions, Javadoc, class design, and so you can follow Java code guidelines like Google Oracle, Of course, you can set the configuration file according to your own rules, which effectively constrains yourself to better follow the code writing specifications.
35.Markdown Navigator
Github:markdown Navigator
Markdown Plug-in
36.ECTranslation
Android Studio plugin,translate 中文版 to Chinese. The Android Studio Translator plugin can translate English into Chinese.
37.PermissionsDispatcher Plugin
Github:permissionsdispatcher Plugin
Code that automatically generates 6.0 permissions
38.WakaTime
Github:wakatime
Record your working hours on the IDE
39.AndroidWiFiADB
Wireless Debugging applications
40.AndroidLocalizationer
Android Studio/intellij Idea plugin that can be used to automatically translate a string resource in a project into another language
41.TranslationPlugin
Another translation plugin, can be translated in English and Chinese.
42.SingletonTest
Quickly create a preset for a singleton mode
43.BorePlugin
Android Studio automatically generates layout code plug-ins
Code generation rules
A. Automatic traversal of all files with IDs in the target layout, no ID processing is not recognized
B. The variable name generated by the control defaults to the ID name and can be modified in the Name entry field on the right side of the popup confirmation box
C. All buttons or controls with Clickable=true automatically generate Setonclicklistener-related code in your code
D. All edittext controls generate non-null judgment code in the code, if NULL will prompt edittext of hint content, if the hint is empty, then the XXX string can not be empty, and finally the validation of all input boxes will be merged into a Submit method
E. The include tag in the layout is automatically recognized and the controls in the corresponding layout are read
44.jimu Mirror
The ability to preview the Android layout in real time, it listens for changes to the layout file, and refreshes the UI as soon as the code changes.
45.jRebel for Android
Not only can do a real-time UI Layout preview, it even lets you change the Java code can be replaced in real-time apk class file, to apply real-time refresh, the official website is: Skip build, install and run, so it can save us a lot of time, It also has a very good effect.
46.sdk-manager-plugin
SDK Management plug-in, automatically detect updates and download. (picture is not related to plugin ha)
47.Codota
Search for the best Android code. (This plugin can be found directly inside studio)
48.LayoutFormatter
Drakeet Develop an Android studio plugin that formats your XML file in one click, as for why not use this plugin with the format feature of Android Studio, you can see the author's blog, and when we talk about the XML layout file code of the excellent Ya sex
49.android-strings-search-plugin
A plugin that can find Strings.xml resources by entering text
50.ideaVim
Vim itself is an excellent text editor, and Android Studio is an artifact for writing apps. What if two of great software is combined to feel like it?
For more information, see the article: Android Studio +vim
51.eventbus3-intellij-plugin
Boot Eventbus Post and event (valid for the latest version of Eventbus 3.0.0)
Major bug fixes work:
Modify package name and method name to fit Eventbus 3.X
Replace a class that does not already exist in the new version of the IntelliJ plugin SDK
Add several try-catch to prevent plug-ins from crashing
52.Exynap
Exynap a Androidstudio plugin that helps developers generate boilerplate code automatically
53.gradle-cleaner-intellij-plugin
Force clear delaying & no longer needed Gradle tasks.
54.MVPHelper
A plugin for Intellj idea and Android studio that can create interfaces for MVP and implement classes, freeing hands.
For more details, please see the mvphelper of the Android Studio plugin, with one click to generate the MVP Code article
55.Matchmaker
This is a plug-in developed for small programs that can now be used in IntelliJ idea. It can help you to complete the process of repeating the binding method of mechanical boredom, and automatically inject the new method into the JS file.
56.Emoji Support Plugin
Let Intellij support Emoji input Reminders
57.open-uploader
Upload the apk file to the specified address and provide the custom parameters
58.MultiTypeTemplates
Generate Multitype and Itemviewprovider (about Multitype see the Android complex List view new notation Multitype)
59.android-butterknife-plugin-plus
Android Studio plug-in for fast implementation of the Butterknife annotation framework, including all features of the Android-butterknife-zelezny 1.6 version, and on this basis, add the following features:
1. You can freely choose whether to initialize the Butterknife in the current class, avoiding the embarrassment that the original version will automatically butterknife.bind (this) in OnCreate as long as the plug-in initialization control is used.
This allows the butterknife to be initialized in the base class without having to initialize each class, making it easier to build the development framework.
2. In the Setup interface of Android Studio, the default value setting is provided for enforcing initialization in the current class, which allows the plugin to be used more in accordance with its own operating habits.
Apkmultichannelplugin.
This is an Android Studio/idea plugin for Android multi-channel packaging
Installation:
- Open Android Studio: Open setting/preferences-Plugins, Browse repositories and search for Apkmultichannel installation restart
Or
- Download Apkmultichannelplugin.jar then setting/preferences, Plugins, Install plugin from disk select Apkmultichannelplugin. Jar Installation Restart
How to use:
Select APK
Select an apk and then right click on Build multichannel
Configuration
Configure signature information, packaging methods and channels, etc.
Configuration Description:
Key Store Path: The path to the signature file
Key Store Password: The password for the signature file
Key alias: Keys aliases
Key Password: Key password
The path to the Zipalign path:zipalign file (for optimization apk;zipalign ensures that all uncompressed data begins with a specific byte alignment relative to the beginning of the file, which reduces the amount of RAM the application consumes. )
Signer version: Select signature versions: Apksigner and Jarsigner
Build Type: How to Package
Channels: Channel list, one per line, the front can be added > or not (when saving information, the program will add itself)
Start packing
When the configuration is complete, press OK to start the channel package, and the file will be output in the channels directory in the current directory of the selected apk.
61.CodeMaker
An idea code generation plugin that generates code through Velocity support for custom code templates. Learn more about the idea code generation plugin Codemaker
62.adb-idea
You can clean the cache and restart the app with one click
This plugin is from [email protected], thanks for sharing [email protected]
63.JVM Debugger Memory View
A useful memory debug plugin for Android studio and Idea
Refer to the article about a useful memory debug plugin in Android studio and idea.
64.TinyPic
Function: Compress picture resources, the core function of compressing 500 compression at a time is tinypng this website provides
https://tinypng.com/
But this site can only upload 20 images at a time, so you need to upload and download, upload and download duplicate work. Fortunately this site provides an API to compress images.
Apply for API key under the developer page. For a key, there are 500 times a month of free compression, if the compression of more than 500 pictures, it can not be used. Additional fees are required. But the application of this API is particularly simple, fill in the mailbox, the user name on the line, more than two mailboxes. 1000 pictures are duly completed. It is recommended that Google a 10-minute mailbox, do not need to register, can only use 10 minutes, to collect the verification code is very convenient.
How to use:
1. Download the plugin in File->settings->plugins tinypic
2. Reboot after installation, find Tinypic in Tools directory
3. Enter the API key for the Https://tinypng.com/developers application
4. Select the picture, you can select the picture, or select a folder or both, anyway, it is to traverse the folder under the picture, filter jpg and PNG, key the number of times left
5. Compression progress
6. More than 500 hints (follow-up will consider adding a file to generate compressed information, because everyone uses git, it is not really necessary)
65.ReciteWords
This is a Androidstudio translator with unfamiliar word record plugin
The words you translate will be recorded in the Recitewords.md file in your current user directory (for example, C:\USERS\BOLEX\RECITEWORDS.MD). You can open it for learning through the markdown editor. The effect is as follows:
66.TemplateBuilder
Templatebuilder is an as plug-in that can help us quickly build Android Studio template, and will be improved by file-by-template configuration to be implemented via plugins, and for simple template making, it takes just one click to generate.
The most complete Android Studio plugin finishing (GO)