Archives For Android Studio

Android Studio IDE 3.1 was released a few days ago. Here’s how to install it in Ubuntu 16.04, Ubuntu 17.10, Ubuntu 18.04 easily via Snap package.

Android Studio 3.1 introduced a C++ performance profiler for trying to analyze CPU bottlenecks in application code. It also adds lint checks for the Kotlin programming language, SQL code completion support, D8 is now the default Dex compiler, a new build output window, and other enhancements.

The community has built the IDE into snap, the universal Linux package format, that can be easily installed on all current Ubuntu releases.

1. For Ubuntu 14.04 and Ubuntu 16.04 users never installed a snap package, you need to install the snapd daemon while it’s not shipped by default in the two LTS.

Open terminal either via Ctrl+Alt+T or by searching ‘terminal’ from app launcher. When it opens, run command:

sudo apt-get install snapd snapd-xdg-open

2. Then launch Ubuntu Software, search for and install Android Studio.

For those who prefer command console, run command in terminal to install the snap:

snap install android-studio --classic

Once installed, launch the Android IDE from your application launcher (log out and log in back if you don’t see the app icon) and enjoy!

Android Studio reached the new major 3.0 release. Here’s how to install it in Ubunu 14.04, Ubuntu 16.04, Ubuntu 17.10.

Android Studio 3.0 features:

  • Ability to develop apps with Kotlin, a newer programming language designed to interoperate with existing Java code
  • An SDK for creating Instant Apps
  • New templates for Android Things applications, XML and downloadable fonts for Android 8.0 and higher
  • A new wizard for creating adaptive icons.
  • Android Plugin for Gradle 3.0.0 with significant performance improvements to large multi-module projects.
  • Ability to create Android 8.0 emulators with the Google Play Store pre-installed

How to Install Android Studio 3.0 in Ubuntu:

You can easily install it either via Maarten Fonville’s PPA or by using Ubuntu Make in Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, and Ubuntu 17.10.

The Maarten Fonville’s PPA contains installer script that automatically downloads Linux package from Google, and installs it into /opt/ for global use.

1. Open terminal via Ctrl+Alt+T and run command to add the PPA:

sudo add-apt-repository ppa:maarten-fonville/android-studio

Input your password (no visual feedback while typing) when it prompts and hit Enter.

2. Then update and install the IDE via commands:

sudo apt-get update

sudo apt-get install android-studio

To install Android Studio 3.0 via Ubuntu Make, you need to first install the latest Ubuntu Make from this PPA. Then run command to install the IDE after accepting license.

umake android

Install Android Studio in Ubuntu

Quick tutorial shows you how to install Android Studio, a new Android development environment developed by Google and based on IntelliJ IDEA, via PPA in Ubuntu 14.10, Ubuntu 14.10, Ubuntu 12.04 and the next Ubuntu 15.04.

Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging.

On top of the capabilities you expect from IntelliJ, Android Studio offers:

  • Gradle-based build support.
  • Android-specific refactoring and quick fixes.
  • Lint tools to catch performance, usability, version compatibility and other problems.
  • ProGuard and app-signing capabilities.
  • Template-based wizards to create common Android designs and components.
  • A rich layout editor that allows you to drag-and-drop UI components, preview layouts on multiple screen configurations, and much more.
  • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine as server-side components.


Install Android Studio via PPA in Ubuntu:

Installing Android Studio in Ubuntu becomes easy. A Ubuntu PPA contains simple script that automatically downloads and installs the latest release from Google download server. So far, Ubuntu 15.04, Ubuntu 14.10, Ubuntu 14.04, and Ubuntu 12.04 are supported.

1. Android Studio depends on Java, and Oracle Java 7 or 8 is recommended. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the commands below one by one:

sudo add-apt-repository -y ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java7-installer oracle-java7-set-default

2. To add the Android Studio PPA, run the command:

sudo apt-add-repository ppa:maarten-fonville/android-studio 

Then update package lists and install the script:

sudo apt-get update

sudo apt-get install android-studio

Depends on your internet connection, it takes a few minutes downloading the source package.

Install Android Studio from PPA

Once installed, start the setup wizard from the Unity Dash (may need restart), or just run command /opt/android-studio/bin/

via: github