6

Install and Use Android Studio on Fedora 35/34/33/32

 2 years ago
source link: https://computingforgeeks.com/install-and-use-android-studio-on-fedora/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Install and Use Android Studio on Fedora 35/34/33/32

Android studio is one of the most popular integrated development kits(IDE). It is popularly used to develop Android applications/software and is currently the official Google Android IDE. It is highly preferred due to its robustness and its ability to build high-quality applications for every android device.

Android Studio offers world-class code editing, performance tooling, debugging, a flexible build system, and an instant build/deployment of android applications thus helping accelerate the build process.

Android studio has the following features:

  • It allows one to code with confidence through code templates and samples as well as the Lintelligence that provides robust static analysis framework.
  • It has a fast and feature-rich Android emulator that installs and starts applications even faster than the real device
  • Code and iterate faster than ever since it is based on Intellij IDEA. Apply changes without restarting your app. It also has an intelligent code editor that helps one write code faster.
  • Allows one to create rich and connected apps through C++ and NDK support with firebase and cloud intergration.
  • It provides GUI tools that simplify the less interesting parts of app development such as the Layout Editor, APK Analyzer, Translations Editor, Vector Asset Studio e.t.c
  • Configure builds without limits, it allows one generated APKs for all device types.
  • It offers testing tools and frameworks

In this guide, we will take a deep dive into how to install and use Android Studio on Fedora 35/34/33/32/32.

System Requirements.

For this setup to be successful, you need to meet the below system requirements

  • Memory – 3 GB RAM minimum, 8 GB RAM recommended; plus 1 GB for the Android Emulator
  • CPU Architecture – 64-bit distribution capable of running 32-bit applications
  • Storage – 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)
  • Resolution – 1280 x 800 minimum screen resolution
  • Library – GNU C Library (glibc) 2.19 or later.

Install Android Studio on Fedora 35/34/33/32/32.

In this guide, I will demonstrate two methods to get Android Studio installed on Fedora 35/34/33/32/32 namely:

  • Using snap.
  • Using an archive

Method 1 – Install Android Studio on Fedora 35/34/33/32/32 using Snap.

This is the most recommended method to install Android Studio since all the required dependencies are packaged in a single snap.

First, ensure that snap is installed and running on your Fedora 35/34/33/32/32.

sudo dnf install snapd

Once installed, start and enable snap.

sudo systemctl enable --now snapd.socket

Enable classic snap support.

sudo ln -s /var/lib/snapd/snap /snap

Install Android Studio on Fedora 35/34/33/32/32 using the single command below.

$ sudo snap install android-studio --classic
2021-12-21T13:57:13+01:00 INFO Waiting for automatic snapd restart...
android-studio 2020.3.1.24 from Snapcrafters installed

From the output, we have successfully installed Android Studio on Fedora 35/34/33/32/32, proceed with the configuration.

Method 2 – Install Android Studio on Fedora 35/34/33/32/32 using an Archive.

Using this method to install Android Studio will guarantee you the latest version of Android Studio on Fedora 35/34/33/32/32.

Begin by installing Java on Fedora s below.

sudo dnf install -y java-11-openjdk-devel

Verify the installed Java version.

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

Now download the latest Android Studio archive from the official Android Studio downloads page

wget https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2020.3.1.26/android-studio-2020.3.1.26-linux.tar.gz

Extract the downloaded file.

tar -xvzf android-studio-*-linux.tar.gz

Now initiate the installation as below.

sudo ./android-studio/bin/studio.sh

The configuration window will pop up, proceed as below.

Configure Android Studion on Fedora 35/34/33/32/32.

If you installed Android-studio using snap, you will be required to launch it using the terminal as below.

$ android-studio

Now proceed with the configuration, you can import settings for Android studio.

Allow Android studio to send usage information to Google.

Now start the Android Studio installation process.

Here, choose the type of installation. For this guide, I will go for the standard installation.

Pick the desired Android studio theme.

You will be granted a preview of configurations made. If the changes are okay, proceed with the installation.

Configure the Android Emulator.

Click “Finish“, the required components will be downloaded as below.

Once done, click finish and proceed as below.

Using Android Studio.

Now that the installation is complete, you can proceed and use your Android Studio to create android applications.

Click on “new project“.

Assign the project a name, and the programming language to use.

After filling in the required details, click finish. Your app will be launched.

Once here, you are free to build, run and debug your application using Android Studio on Fedora 35/34/33/32/32.

Conclusion.

This is the end!

We have successfully gone through how to install and use Android Studio on Fedora 35/34/33/32/32. I hope this guide was informative.

See more:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK