android studio installation tutorial code example

Example 1: install android studio

java --version
sudo apt install openjdk-11-jdk
sudo add-apt-repository ppa:maarten-fonville/android-studio
sudo apt update
sudo apt install android-studio

Example 2: how to setup android studio

Step 0: Pre-Installation Check List. Before installing Android SDK, you need to install Java Development Kit (JDK). ...
Step 1: Install "Android Studio IDE" Reference: "Install Android Studio" @ https://developer.android.com/studio/install.
Step 2: Installing Android SDK.