Android Studio Common Plugins
Reprint Please specify source: http://blog.csdn.net/crazy1235/article/details/48598803
Have to admit, Android Studio is more and more cool. Its code hints and search capabilities are quite powerful and very intelligent. Colors, pictures can be previewed in real time in layout and code.
The process of development using some plug-ins can be more effective, the following introduction of some bloggers in the development process commonly used in some as plug-in for your reference.
- Android Studio Common Plugins
- Butterknife
- Codota
- Genymotion
- Postfix
- Gosnformat
- As a first experience
Butterknife
official website : http://jakewharton.github.io/butterknife/
GitHub: Https://github.com/JakeWharton/butterknife
The plugin was developed by Jakewharton , who was known as the Android Star programmer, and the great nineoldandroids Animation Library is exactly what he developed.
As in the settings–>plugins–> search keyword "Butterknife" can be.
This plugin just helps us to generate code quickly. The real use or the need to introduce a third library.
After the above steps are done, in the activity, right-click on the layout file name:
However, this is only a simple ID binding, other examples: OnClick (), onitemselected () and other events such as binding please refer to the official note.
Codota
official website : https://www.codota.com/
The site collects a lot of code, claiming to be more than 700W code examples.
It provides chrome plugins and as Plugins .
After the chrome plugin is successfully installed, you can search by typing "cod" in the address bar of your browser's new tab and then the TAB key.
After installing the "Codota" plugin in the same way, restart as. Using the shortcut key [Ctrl + K], you can open the search interface, if you have conflicting shortcuts, open an interface, and then right-click to see the "Search Cotoda" option.
After entering your search, enter, and on the right, expand the list of search results:
Click on the avatar to sign in. However, the first click will jump to the browser to obtain tokens, and then authorize in the as inside. This allows you to save some of the code blocks you can use to Codota.
Genymotion
If you do not have a real machine test, it is recommended to use genymotion, convenient and quick. You need to install the Genymotion plugin when developing with AS.
After installing this plugin in the same way, there will be an icon on the toolbar.
Before running, you need to click this icon to select your emulator to run.
I believe many people encounter the problem that the simulator can't run. Similar to this problem: http://ask.csdn.net/questions/200695
For the most part, the Intel Virtual Acceleration feature is not installed or turned on.
Installing HAXM
First, you need to download the Intel x86 Emulator in the SDK manager accelator
After the download is complete, locate the relevant installation file for installation:
After the installation is successful, a restart is required. Enter the BIOS to turn on Intel virtual acceleration. Different brands of computer settings interface is different, this self-Baidu.
Go to cmd and enter the command "SC query INTELHAXM" To view the INTELHAXM status. If it is not turned on, enter "SC start INTELHAXM" to open it.
Postfix
This plugin can quickly write code for log, Toast, and IsEmpty.
The use is also very simple.
Gosnformat
The data interaction between the mobile and the server is generally through the JSON data format. We usually write an entity class from a control interface document. When it comes to more JSON data fields or more complex structures, it is cumbersome to write beans.
By Gsonformat This tool, you can quickly turn a JSON string into an entity class.
As a first experience
Related Bolg Links: The first experience of Android studio-very good and powerful
This blog to the end of this ~
Thank you for your support! If there is an error, please indicate ~
Thank you ~
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Android Studio Common Plugins