Skip to content

Instantly share code, notes, and snippets.

@tmwatchanan
Last active April 30, 2019 13:37
Show Gist options
  • Select an option

  • Save tmwatchanan/caf1624cc0cdc9ad6376daf061bc7508 to your computer and use it in GitHub Desktop.

Select an option

Save tmwatchanan/caf1624cc0cdc9ad6376daf061bc7508 to your computer and use it in GitHub Desktop.
# extract android-studio compressed file to ~/bin/
# intall java jdk
sudo apt install -y openjdk-8-jdk
# add this to .zshrc or .bashrc
# java config for android-studio
export _JAVA_AWT_WM_NONREPARENTING=1
# create a symbolic link for calling from everywhere
ln -s ~/bin/android-studio/bin/studio.sh ~/bin/
# to run apps on a hardward
# ref: https://developer.android.com/studio/run/device
sudo apt install -y adb
sudo usermod -aG plugdev $LOGNAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment