Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save FaikYY/b89c7d88c05cce013365af7b455d1690 to your computer and use it in GitHub Desktop.
Save FaikYY/b89c7d88c05cce013365af7b455d1690 to your computer and use it in GitHub Desktop.
# Install Android SDK CLI
```bash
sudo apt install android-sdk
```
Installs to `/usr/lib/android-sdk`
## Install Java 8
```bash
sudo apt install openjdk-8-jdk
```
Set default `java` and `javac` to v8
```bash
sudo update-alternatives --config java
sudo update-alternatives --config javac
```
Set `JAVA_HOME`. Add the following to `~/.bashrc`
```bash
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
```
@FaikYY
Copy link
Author

FaikYY commented Apr 14, 2021

Flutter instructions added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment