Common Android Studio plug-ins

Source: Internet
Author: User

Common Android Studio plug-ins
Common Android Studio plug-ins

Reprinted please indicate the source: http://blog.csdn.net/crazy1235/article/details/48598803

I have to admit that the more Android Studio is used, the better it is. Its code prompts and search functions are quite powerful and intelligent. Colors and images can be previewed in real time in layout and code.
Some plug-ins can get twice the result with half the effort during development. The following describes some of the as plug-ins that are commonly used in the development process of bloggers for your reference.

Android Studio common plug-ins ButterKnife codota Genymotion install HAXM postfix GosnFormat AS first experience

ButterKnife

Official Website: Http://jakewharton.github.io/butterknife/
Github: Https://github.com/JakeWharton/butterknife

This plug-in is composedJakewhartonDeveloped, he is known as android star programmer, greatNineOldAndroidsHe developed the animation library.

In AS, choose Settings-> Plugins-> Search for the keyword "ButterKnife.

This plug-in only helps us quickly generate code. For actual use, you still need to introduce the third library.

After completing the preceding steps, right-click the layout file name in activity:

However, this is just a simple ID binding. For other events such as onClick () and onItemSelected (), please refer to the official instructions.

Codota

Official Website:Https://www.codota.com/

The website collects a large amount of code and claims to be a code instance of more than million.
It providesChrome plug-in and as plug-in.

After the chrome plug-in is successfully installed, go to the address bar on the new tab of the browser.Enter "cod" and click "TAB ".To search.

Install the codota Plugin in the same way and then restart the. Use shortcuts[Ctrl + k].

After entering the search content, press enter to display the search result list on the right side:

Click the Avatar to log on. However, the first click will jump to the browser to get the token, and then authorize in. In this way, you can save some used code blocks to codota.

Genymotion

If you do not have a real machine test, we recommend that you use Genymotion for convenience. Install the genymotion plug-in when using AS for development.
After installing the plug-in the same way, an icon is displayed on the toolbar.

You need to click this icon to select your simulator to run before running.

I believe many people may encounter the problem that the simulator cannot run. Similar to this problem:Http://ask.csdn.net/questions/200695

Most of the reasons are that intel virtual acceleration is not installed or enabled.

Install HAXM

First, download the Intel x86 Emulator Accelator In SDK Manager.

After the download is complete, find the relevant installation file for installation:

After the installation is successful, restart the instance. Enter BIOS to enable intel virtual acceleration. Different brand computer settings interface is different, this Baidu.

Go to cmd and enter the command SC query intelhaxm to view the status of intelhaxm. If it is not enabled, enter SC start intelhaxm to enable it.

Postfix

This plug-in can quickly write logs, Toast, and isEmpty code.

It is easy to use. <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4NCjxwPjxpbWcgYWxpZ249 "center" alt = "image name" height = "270" src = "http://www.bkjia.com/uploads/allimg/150923/042054J48-15.gif" width = "470"/>

GosnFormat

Data Interaction between mobile terminals and servers is generally in json format. We usually write an object class by referring to the interface documentation. When there are many json data fields or the structure is complex, it is also troublesome to write beans.
Using the gsonformat tool, you can quickly convert a json string into an object class.

AS initial experience

Related bolg links:Experience at the beginning of Android Studio-very good and powerful

This blog ends here ~
Thank you for your support! In case of any errors, please point out ~
Thank you ~

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.