Skip to content

Instantly share code, notes, and snippets.

# Linux:
## Download Android studio
1. Download from https://developer.android.com/studio/ and extract it with `tar -xzf`. This should create an `android-studio` directory.
2. `cd` into `android-studio` and run `bin/studio.sh`
3. Download all the things, including using SDK manager to get the latest platform _and_ tools (see https://developer.android.com/studio/intro/update.html#sdk-manager).
4. It will probably complain about performance and suggest you increase the heap size and relaunch. You should do this.
5. Go to File > Project Structure > SDK Location and copy the value. Export this as ANDROID_SDK_ROOT in your .bashrc (or .zshrc, etc.).
6. If you're running on Ubuntu, you might see `Gtk-Message: Failed to load module "canberra-gtk-module"` in your terminal. Fix this with `sudo apt install libcanberra-gtk-module`.

Keybase proof

I hereby claim:

  • I am bdmayes on github.
  • I am twofifty6 (https://keybase.io/twofifty6) on keybase.
  • I have a public key ASDOzMWvJSzP7CEfTK5UMxKjiw-TK4f4dhUwvJF60Xjv-Ao

To claim this, I am signing this object: