9 Most useful plugins for android studio (android developer)

9 Most useful plugins for android studio (android developer)


In this article I am going to mention the 9 most useful plugins in android studio.

Installing Plugins

The installation process is the same for all plugins:
Launch Android Studio and open Preferences.
Open the Plugins section.
plugins1
Search for the name of the plugin, and click install.
plugins2

1. Generate Parcelable Objects

At some point during app development, you will have to deal with Parcelable objects in java. Parcelable objects send data to different components of an application, system components, or other applications installed on the device. When an app needs Parcelables, developers need to build them manually, or can use the Parcelable boilerplate code generation tool to generate an implementation based on fields of the Parcelable class.
plugins3

2. ADB Commands

ADB Idea aims to speed up the day of an Android developer by giving access to crucial terminal commands. I found this tool helpful after the release of Android Studio 2.0, and the addition of Instant Run. Whilst it’s a great feature, sometimes the quick build doesn’t pick up small changes and you have to rebuild and reinstall the project. This makes quick access to ADB commands invaluable.
plugins4

3. ADB over Wifi

This is simple plugin that let’s you debug Android apps over Wi-Fi, which is pretty cool if you ask me.
plugins5

4. Minimap

If you have used editors like Sublime, CodeGlance might be what you need to make your IDE more enjoyable and easier to navigate large class files.

5. Convert SVG to Android Vectors

The mindset change of Material Design bought new approaches towards app icons, logos and static images. Asset formats changed from traditional image formats (.png.jpg, etc …) to Vector Drawables. The SVG2VectorDrawable plugin let’s you convert SVG images to vector drawables (i.e. .xml files) so you can use them as layout drawables.
plugins7

6. Data Transfer Object Generator

The Data Transfer Object(DTO) generator creates Java classes from a given feed. This plugin is helpful if you are working with REST APIs that return JSON responses, which is the case for most web services. DTO will generate a ‘POJO‘ object from the feed provided. Here’s an example from their Github project, where you can also find many more:

7. Material Design Icon Generator

To develop apps based on Material Design Patterns you need to add Material Icons, but I find the Material Icons Guidefrustrating and needs a lot of work. This plugin helps you build Material Design Icons in a couple of steps.
plugins9

8. Codota Code Search

If you haven’t heard of Codota, I highly recommend it. If you have a problem with your code, need a solution, or have a bug you haven’t been able to fix, Codota will try to give you a real world solution. Codota is a code search engine that looks for open source code snippets available on platforms such as GitHub, Google Code, and StackOverflow. This makes Codota the perfect tool for fast development.
An example. Search on Codota for something that I know is not so widely used in small Android projects, e.g. the java.util.Observable class.
plugins10

The result is rated as ‘CodeRank 5’. Now try something like java.util.ArrayList and you will see ‘CodeRank 10’.
Thats the beauty of Codota and with this plugin you can have the power of Codota inside Android Studio.

9. Code Mirroring with Jimu

Debugging apps on real devices can be slow and take considerable time, especially if you are working with UI elements and making frequent adjustments. Jimu Mirror helps minimize development time by presenting previews on devices of layouts that update in real time, even while making layout changes. Jimu Mirror is a great tool to preview Android layouts, custom views and animations on the fly. It’s not open source and not in the IntelliJ plugins repository so you have to download it from their web site. This tool is not free, but I think it could be worth it for the time it will save.
Take your time to comment on this article.

Comments