```sh
sudo apt-get install build-essential g++
sudo apt install openjdk-8-jre openjdk-8-jdk
sudo update-alternatives --config javac
sudo update-alternatives --config java
npm install -g turtle-cli
turtle build:android
```