Skip to content
This repository has been archived by the owner on Jun 28, 2019. It is now read-only.

paolorotolo/android-studio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 

Repository files navigation

[DEPRECATED] Android Studio for Ubuntu

NOTICE: THIS PROJECT IS NO LONGER SUPPORTED.
Please consider using ubuntu-make or mfonville's repo instead.

Install Android Studio VIA ubuntu-make

  # Install Ubuntu Make
  sudo apt install ubuntu-make
  
  # Install Android Studio
  umake android

Android Studio by Google packaged for Ubuntu. Visit the official website here.

FAQ

32-bit compatibility libraries

Q: I can't correctly build my project on Ubuntu amd64. Even if using a sample project with all default settings.

A: You probably need to install 32-bit compatibility libraries. Open a terminal and run:

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1 lib32z1-dev

Unable to start

Q: When I click on the icon, Android Studio just doesn't start. A: Did you install Java? Try to install Java 8 from this PPA.

Also, try:

/opt/android-studio/bin/studio.sh

If you have this error, you probably have to install the jdk:

Start Failed: Internal error. Please report to https://code.google.com/p/android/issues

java.lang.NoClassDefFoundError: com.intellij.util.lang.ClassPath
at java.lang.Class.initializeClass(libgcj.so.14)
[...]
Invisible icon

Q: Android Studio doesn't appear in Unity's dash / GNOME Overview.

A: I'm currently working on this issue. Meanwhile, you can manually start Android Studio with the following command:

/opt/android-studio/bin/studio.sh

HiDPI support

Q: Android Studio looks strange. Some icons and objects are way too small.

A: To fix some of these problems add

-Dhidpi=true

to these files:

/opt/android-studio/bin/studio.vmoptions

/opt/android-studio/bin/studio64.vmoptions

screenshot from 2014-11-22 17 28 23