Jun 03, 2016 Android Plugin can run/update independent of Android Studio. Normally IDE will automatically ask you to update Gradle when you update Android Studio IDE or importing a new project into the IDE. Include support for Google's Maven repo using // the google method. And you need to include this repo to download // Android Gradle plugin 3.0.0. Dec 07, 2016 Android Studio plugins to boost your productivity and power pack your IDE 1. Butterknife Zelenzy. Most useful plug-in for Android Studio/IDEA that allows one-click creation of Butterknife view.
The Android Developer Challenge is back! Submit your idea before December 2.
Setting up Android Studio takes just a few clicks.
First, be sure you download the latest version of Android Studio.
Windows
![Plugin Plugin](/uploads/1/2/6/6/126647782/414182415.png)
To install Android Studio on Windows, proceed as follows:
- If you downloaded an
.exe
file (recommended), double-click to launch it.If you downloaded a.zip
file, unpack the ZIP, copy the android-studio folder into your Program Files folder, and then open the android-studio > bin folder and launchstudio64.exe
(for 64-bit machines) orstudio.exe
(for 32-bit machines). - Follow the setup wizard in Android Studio and install any SDK packages that it recommends.
That's it.The following video shows each step of the setup procedure when using the recommended
.exe
download.As new tools and other APIs become available, Android Studio tells youwith a pop-up, or you can check for updates by clicking Help >Check for Update.
Mac
To install Android Studio on your Mac, proceed as follows:
- Launch the Android Studio DMG file.
- Drag and drop Android Studio into the Applications folder, then launch Android Studio.
- Select whether you want to import previous Android Studio settings, then click OK.
- The Android Studio Setup Wizard guides you through the rest of the setup, which includes downloading Android SDK components that are required for development.
That's it.The following video shows each step of the recommended setup procedure.
As new tools and other APIs become available, Android Studio tells youwith a pop-up, or you can check for updates by clicking Android Studio> Check for Updates.
Note: If you use Android Studio on macOS Mojave or later, you might see a prompt to allow the IDE to access your calendar, contacts, or photos. This prompt is caused by new privacy protection mechanisms for applications that access files under the home directory. So, if your project includes files and libraries in your home directory, and you see this prompt, you can select Don't Allow.
Linux
To install Android Studio on Linux, proceed as follows:
- Unpack the
.zip
file you downloaded to an appropriate location for your applications, such as within/usr/local/
for your user profile, or/opt/
for shared users.If you're using a 64-bit version of Linux, make sure you first install the required libraries for 64-bit machines. - To launch Android Studio, open a terminal, navigate to the
android-studio/bin/
directory, and executestudio.sh
. - Select whether you want to import previous Android Studio settings or not, then click OK.
- The Android Studio Setup Wizard guides you through the rest of the setup, which includes downloading Android SDK components that are required for development.
Tip:To make Android Studio available in your list of applications, selectTools > Create Desktop Entry from the Android Studio menu bar.
Required libraries for 64-bit machines
If you are running a 64-bit version of Ubuntu, you need to install some 32-bitlibraries with the following command:
If you are running 64-bit Fedora, the command is:
That's it.The following video shows each step of the recommended setup procedure.
As new tools and other APIs become available, Android Studio tells youwith a pop-up, or you can check for updates by clicking Help >Check for Update.
Chrome OS
Follow these steps to install Android Studio on Chrome OS:
- If you haven't already done so, install Linux for Chrome OS.
- Open the Files app and locate the DEB package you downloaded in theDownloads folder under My files.
- Right-click the DEB package and select Install with Linux (Beta).
- Select whether you want to import previous Android Studio settings, thenclick OK.
- The Android Studio Setup Wizard guides you through the rest of thesetup, which includes downloading Android SDK components that arerequired for development.
- After installation is complete, launch Android Studio either from theLauncher, or from the Chrome OS Linux terminal by running
studio.sh
inthe default installation directory:/opt/android-studio/bin/studio.sh
That's it. As new tools and other APIs become available, Android Studio tells youwith a pop-up, or you can check for updates by clicking Help >Check for Update.
Note: Android Studio on Chrome OS currently supports deploying your app only toa connected hardware device. To learn more, read Run apps on a hardwaredevice. [Total: 3 Average: 5/5]
There are hundreds of plugins out-there for Android Studio and the number grows daily. This is mainly due to two reasons. The first is the fact that Android Studio is the industry accepted go-to IDE for creating Android apps. The second is Intellij IDEA, the platform upon which Android Studio is based, that allows for the development and easy installation of (mostly) useful plugins that are compatible with both IDEs. But which do you install, if at all?
Of course, you can go ahead and start coding on a clean installation of Android Studio, with just the necessary libraries installed and zero plugins added. But you’re smarter than that. You’re looking to install the Android Studio plugins to make your work more efficient, intelligent, and (when possible) fun. Worry not, as we’re here to direct you to the current top of the crop of Android Studio plugins that are bound to (at the very least) triple your productivity.
In our list of the top Android Studio plugins we included some must-have basic tools, as well as a number of little-known gems recommended by seasoned Android app devs in the Codota user community. So following our list of best IntelliJ plugins, here’s our favorite AS plugins:
1. String Manipulation
Android Studio Plugin Development
Pretty much what the name suggests, this plugin can save you hours of tedious manual work. Among others, it offers style toggling (camelCase, kebab-lowercase, KEBAB-UPPERCASE, snake_case, SCREAMING_SNAKE_CASE, dot.case, words lowercase, Words Capitalized, PascalCase), Un/Escape, Encode/Decode, Increment/Decrement, natural order sorting, filtering and alignment.
? 2. Codota
A bit of a shameless plug(in). The Codota plugin uses machine learning to crowdsource code-completions from millions of Java programs, combined with your own unique context. Used by both beginner and senior Java developers, Codota makes development faster and helps eliminate those irritating errors that pop up in your code.
In addition to the plugin, Codota also offers an extensive library of commonly used Java code snippets to copy and paste where you need it.
3. CPU Usage Indicator
This simple UI plugin is more handy than one might initially think. As your code and app get more complex to compile and run, this will take a toll on your CPU. One of the most useful things about CPU Usage Indicator is the ability to generates a thread dump to show you what it is the IDE might be doing in the background to clog up the CPU.
? 4. Rainbow Brackets
Nested brackets and parentheses have been a source of headaches for programmers as far back as this coder can remember (highschool). Many hours were lost looking for that missing bracket than is mucking up compilation. No more!
Instead of sitting there for what seems like eternity trying to remember which number bracket you’re staring at? Add some color to your brackets and parentheses with the Rainbow Brackets plugin!
It supports Java, Scala, Clojure, Kotlin, Python, Haskell, Agda, Rust, JavaScript, TypeScript, Erlang, Go, Groovy, Ruby, Elixir, ObjectiveC, PHP, HTML, XML, SQL, Apex language, C#, Dart and others, most of which you really don’t need for Android development.
5. Project Lombok
Complex Java code for Android applications can often contain a lot of boilerplate code (constructors, getters, setters, etc). This can lead to lengthy, difficult to read, and tedious to maintain methods. Project Lombok is a Java library that plugs into your IDE and generates those boilerplate code, keeping your code short and readable. The difference between pre and post Lombok code can be quite staggering.
It’s worth noting that being a compile-time only library, Lombok will not make your app any heavier. In addition, the Project Lombok website offers a lot on helpful resources for plugin users and developers.
6. Android Drawable Importer
If you’re going to be working with drawable in your Android development, and there’s a very good chance you are, this is the first plugin you need to get to know.
To adapt to all Android screen sizes and resolutions, every Android project contains a drawable folder. If you’ve been blessed with a designer from heaven who provides the assets already in the correct folder with the correct naming, we’re jealous. Odds are, you’re not that blessed and have already found yourself manually renaming and moving the PNG files to the correct folders.
Unless you find this activity to have therapeutic value, Android Drawable Importer is the plugin that is going to save you a ton of time. It lets you import single assets to be adjusted for necessary sizes and resolutions, whole zip files to sort automatically to their folders, and batch-processing of multiple assets to integrate smoothly into the project.
7. Vector Drawable Thumbnails
To preview a vector drawable xml file you would normally need to build your app. To save you the trouble, Vector Drawable Thumbnails displays all Android vector drawables in the entire project with one click.
8. Android Drawable Preview Plugin
When you have a lot of drawable components in your project, remembering which is which can get hard. Wouldn’t it be nice if you had a quick preview of the image in your IDE? With Android Drawable Preview Plugin, you do.
This Android Studio plugin replaces the default icons with drawables previews inside the project view. Super-easy to access, but not an excuse to use ambiguous names for the drawable assets. Keep it descriptive, always.
9. Name That Color
Let me start by busting a myth. Not all women can tell the difference between turquoise and teal, or eggplant and plum. The very much female writer of these lines is one such example. And I am not even color-blind.
The existence and popularity of this plugin indicate that most developers don’t have that magical color-recognition skill either, so I am in good company.
The Name That Color plugin will name the color you have in your clipboard directly inside your color resource file in Android Studio, and give the name of the closest matching color. No more “lighter_light_pink” in your xml.
? 10. bundletool
bundletool is the underlying tool that Gradle, Android Studio, and Google Play use to build an Android App Bundle or convert an app bundle into the various APKs that are deployed to devices. This tool by Google is a must-have for more efficient APK packages.
11. Butterknife Zelezny
Android ButterKnife is a “View Injection Library for Android”. It generally improves code readability, letting you to focus on the logic rather than glue code for finding views or adding listeners.
Developing with ButterKnife allows you to perform injection on arbitrary objects, which can get pretty complicated and tedious once you need to perform more than one or two. At this point, you need to refer to all layout XMLs to write them in the source file. Or you can simply install ButterKnife Zelezny.
Android ButterKnife Zelezny is an Android Studio Plugin for generating ButterKnife injections from selected layout XMLs in activities, fragments or adapters. In fact, most ButterKnife coding tutorials and guides you’ll find recommend you install Zelezny.
12. Android Input
Android Input is a fairly simple but useful Android Studio plugin that allows to easily type text directly into your Android device or emulator. It remembers the last used device and last text entered.
13. ADB Idea
This plugin for both Intellij IDEA and Android Studio adds a number of useful shortcuts to various ADB tool commands directly in your IDE. While this seems like a small addition, developers say ADB Idea can speed up development and debugging of Android apps.
14. adb-enhanced
Dubbing itself “a Swiss-army knife for Android testing and development”, adb-enhanced is a command-line interface to trigger various scenarios. It lets you play around with many potentially buggy app behaviors like screen rotation, battery saver mode, data saver mode, doze mode, and permission granting/revocation.
15. ADB WIFI
This plugin simplifies connecting the device to the ADB through WiFi for debugging. Like many other small but handy plugins, this one is simply a shortcut to a series of commands you can execute in the command line. But why not be comfortable?
16. Here there be dragons
Here be dragons is an Intellij/Android Studio plugin that lets you annotate your impure Java methods with the @SideEffect annotation and shows a little dragon icon in the gutter when you call them.
In addition to visually isolating impure functions, this plugin is just too cute not to include in our list. Because dragons.
17. Power Mode 2
You know your code is epic. On some particularly long hyper-caffeinated coding sessions, you can feel your fingers spitting fire and shaking the world. You are a development God, and as such, deserve to code like one.
You might want to disable the shaking effect unless it syncs with the shakes from all the coffee. We won’t judge.
One last thing…
Before you go ahead and batch-install all the plugins from the list, you should remember that more plugins usually means a slower IDE. Consider your coding habits and see what plugins will shave off time-consuming tasks without adding unnecessary extra weight to Android Studio.