Archives For November 30, 1999

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.

android-studio

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/studio.sh.

via: github