Install Android Studio

How to install android studio on ArchLinux.
You have to install any packages and you need Java. If you don’t have jdk, please install.

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

Then, Add next line in /etc/profile

export JAVA_HOME=/usr/lib/jvm/java-13-openjdk // your openjdk version

If you didn’t know version, you can check bellow command.

$ java --version

If you haven’t detected your smartphone android, use this command, please.

$ sudo pacman -S android-udev
$ yay -S simple-mtpfs

関連記事