Android Studio is Google’s officially supported Integrated Development Environment (IDE) for Google’s Android Operating system. It is based on JetBrains IntelliJ IDEA that offers tools designed specifically for Android systems.

It includes the following features:

  • A flexible gradle based build system that helps you build apps quickly by either code or simple drag and drop feature.
  • A fast and feature-rich emulator which gives real-time experience to the Android applications
  • A unified environment where you can develop for all Android devices
  • Instant App run to Push changes to your running app without building a new APK 
  • Code templates and GitHub integration to help you build common app features and import sample code
  • Extensive testing tools and frameworks
  • Lint tools to help you catch performance, usability, version compatibility, and other problems
  • C++ and NDK support

In this Guide, I will show you how to;

  • Install Android Studio from the Repository
  • Install Android Studio using Snap
  • Configure Android Studio after instalation
  • Create a simple Android Application
  • Create an Android Virtual Device (AVD)

Method 1. Install Android Studio on KDE Neon / Kubuntu using repo

Update the package index using

sudo apt update 

a.) Install Java JDK

Next is to install openJDK11 in the system. If you have java installed, you can skip to the next step

sudo apt install default-jdk

Type Y to continue with the installation when prompted

To confirm the installation was successful, use

$ javac -version
javac 11.0.13

$ java -version
openjdk version "11.0.13" 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.13+8-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)

b.) Setup Android Studio Repository

Now we have to add the Android Studio official repository to the system

sudo apt install curl gpg gnupg2 software-properties-common apt-transport-https lsb-release ca-certificates
sudo add-apt-repository ppa:maarten-fonville/android-studio

Press ENTER when prompted to continue with the installation

c.) Installing Android Studio

Then update the package index using:

 sudo apt update

If there are packages to be upgraded, use to update them.

sudo pkcon update 

Now install Android Studio and all its dependencies using the following command

sudo apt install android-studio

Type Y to continue with the installation when prompted with the disk space the software will use

Method 2. Install Android Studio using Snap

Update the package index using:

sudo apt update

To install snapd use the following command

sudo apt install snapd

This installs the snap packages

Then install android studio using the following command

sudo snap install android-studio --classic

We add the --classic parameter to ensure the security of the system while working with Android Studio and snap installs the latest version of Android Studio from the stable channel.

Launch Android Studio on KDE Neon / Kubuntu

You can launch Android Studio from the application launcher and click on the icon

You can also type android-studio in the terminal if you used snap to install Android Studio

Whichever method you open Android Studio with, When starting the Android Studio for the first time, the following window appears. Ensure the option Do not import settings is selected.

The Android Studio setup wizard opens as follows.

Next is to choose the installation type, select the Standard option which has the most common settings.

Select the UI theme. I chose Dark Mode.

Then view the summary and the components to be downloaded.

Then go through the License and agreement of the components to be installed then click accept on both selections.

Emulator Settings windows opens, these settings assist in creating an Android device Manager which you can connect to virtually and use it to test and run your applications. If you have android studio 3.6 and below, You will not have these settings, Hence ensure you install the latest Android Studio. Click on Finish to download components

Then the components will download and install.

Click Finish, The Android studio opens as below

Creating Simple Application

Click on New Project which opens as follows. It brings you to the templates section. Here you choose the template that suits how you want your application to be. I am just going to create a simple app hence I chose the Basic Activity template.

Next is to choose the settings by naming your project and selecting the language the app should be written in and also selecting the operating system.

It opens as follows in split view. You can change how you want the layout to be, You can even minimize some window components to make it more spacious.

Under your project name collapse the menu and then proceed to open app>src>main>res>layout and double click on the fragment_first.xml file. This starts building the Gradle System that helps create applications quickly. You can open in split view to appear as below

Then navigate to TextView to find the following text,


Right-click on the script then select Go To> Declarations or Usages

It opens a strings.xml file. Change the value to a text from ‘Hello first fragment’ to the one you would want to

<string name="hello_first_fragment">Hello first fragment</string>

I typed

<string name="hello_first_fragment">Hello from Technixleo</string>

Then click Run or the green play button

The Device connected installs the app and displays Hello from Technixleo as shown below.

Create an Android Virtual Device (AVD)

If you do not have any devices connected to the Android Studio, You can use an AVD which is virtual and would work as a normal android device to help you test and run your application.

To create an AVD, click on Device Manager,

It opens a window within the IDE itself, Under virtual click Create Device.

It opens another window with the devices available, Select the hardware you prefer and click Next.

Next is to select the system image. Under the x86 images tab select the one you want. I went with the one recommended and click on Download.

The components start installing, Once the installation is done click on Finish then click on Next on the Select System Image window.

The Android Virtual Device will be created as shown below. You can name it the way you want and also how you want it to be oriented and then click Finish

You will now be able to see the device has been created as below.

You can now run your app, Once you click on Run, The Gradle build starts running, which powers on the device. Then it installs the application on the device and opens it.


From this guide, You learned how to install Android Studio on KDE Neon / Kubuntu by use of the repository and also using Snap. You also got to Configure the Android Studio and Created a simple application via the IDE. You also got to create an Android Virtual Device which assists a user in running and testing apps virtual android device.

To learn more on how to create your first app, Check out Build your First Android App, and on Creating an AVD check out Managing AVDs.

More guides to check out:


Please enter your comment!
Please enter your name here