2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Intalling Android Studio on Archlinux

Last updated at Posted at 2015-09-21

#Intalling Android Studio on Archlinux

Yaourt
Android Studio

##Yaourt
Edit de the file /etc/pacman.conf and you write in the end:

[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch

and uncomment

before

#[multilib]
#Include = /etc/pacman.d/mirrorlist

after

[multilib]
Include = /etc/pacman.d/mirrorlist

now install it

sudo pacman -Syy  
sudo pacman -S yaourt  

when you install this the terminal will ask you if you want

  1. jdk7-openjdk or 2) jdk8-openjdk default: 1

##Android Studio

sudo pacman -Syy
yaourt -S android-studio android-sdk android-sdk-platform-tools android-sdk-build-tools android-tools
sudo chmod -R 777 /opt/android-sdk

Add next line in "sudo /etc/profile"

export JAVA_HOME=/usr/lib/jvm/java-7-openjdk

When you initiate android-studio add your SDK directory /opt/android-sdk

Perhaps you haven’t detected your smartphone android, then use this command.

sudo pacman -S android-udev
yaourt -S simple-mtpfs

Xmonad GUI:

sudo pacman -S android-file-transfer  

Also you need add in xmonad.hs

import qualified XMonad.Hooks.ICCCMFocus as ICCCMFocus

and

 logHook = ICCCMFocus.takeTopFocus

Gnome:

sudo pacman -S gvfs gvfs-mtp  

KDE:

sudo pacman -S kio-mtp

and restart your computer.

Android Studio with Xmonad

Perhps you can have this problem
Screenshot_20161028_091349.png
How you can see .. well this is the point we can't see anything using xmonad

on this case

sudo pacman -S wmname
wmname LG3D

and now you can execute Android studio

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?