First of all we need JDK (Java Development Kit), JRE (Java Runtime Environment) and VirtualBox.
yaourt -S jdk7-openjdk jdk7-openjdk virtualbox virtualbox-host-modules
Than, we will use Android Studio as IDE. Package
android-studio will install
android-sdk as its dependency.
yaourt -S android-studio
Next, we should run
sudo /opt/android-sdk/tools/android and select desirable version of Android SDK.
Setup path to Android SDK. Start Android Studio, you are at Welcome to Android Studio Dialog, pass next steps.
Finally, we will use genymotion for local testing and debugging.
yaourt -S genymotion
Don't forget to setup correct path to Android SDK.
I use Genymotion plugin for Android Studio for quick access to emulators.
I had network problems between VirtualBox and my network device. It solved with adding follow strings to /etc/modules-load.d/virtualbox.conf.
# sudo vim /etc/modules-load.d/virtualbox.conf vboxdrv vboxnetadp vboxnetflt
And manually load for current session
sudo modprobe vboxdrv vboxnetadp vboxnetflt
We can check current Android SDK version with this command
Also, we can colorize Android Studio with solarized.
That is all, we have full stack for Android development.