+4 votes
194 views
How to install Android Studio on Linux

in Linux / Unix by (551k points)
reopened | 194 views

1 Answer

+5 votes
Best answer

1. Features and requirements of Android Studio

One of the most dynamic and versatile operating systems for its development options is undoubtedly Android, created and developed by Google and is currently implemented in millions of mobile devices and some desktop computers..

Now, if we are in the world of Android application development, we have a tool that is fundamental and rich in features to carry out this type of tasks and this tool is Android Studio.
Android Studio has the necessary and comprehensive tools to create apps on all types of Android devices.
Android Studio has been created as an official integrated development environment (IDE) specific for Android application development and is based on IntelliJ IDEA.

Functionalities
Android Studio has a series of explicit features to create powerful and innovative applications such as:
  • It has a compilation system based on flexible Gradle
  • It has a fast emulator which has several functions
  • It has a unified environment in which developments can be made for all available Android devices
  • It has the Instant Run function which allows you to apply changes while the application is running without having to compile a new APK
  • Integration of code templates and GitHub to offer the possibility to compile common functions of the apps and import code examples
  • It has a large number of tools and test frameworks
  • It has Lint tools to detect performance problems, usability, version compatibility, etc.
  • C ++ and NDK support
  • Built-in support for Google Cloud Platform, which facilitates the integration of Google Cloud Messaging and App Engine
Modules
Each project that we carry out in Android Studio contains one or more modules which have source code files and resource files, these modules are:
  • Android app modules
  • library modules
  • Google App Engine modules
Folders
All compilation files will be visible at the top level of Gradle command sequences and each application module contains the following folders:
  • manifests: Contains the AndroidManifest.xml file
  • java: Contains the Java source code files, including the JUnit test code
  • res: Contains all resources, such as XML designs, UI strings and bitmap images.

1. Features and requirements of Android Studio


Among the various features we have when using Android Studio we have:
Instant run
When clicking on Run or Debug, the Instant Run function of Android Studio will apply the changes in the code and resources in the running application, so that it intelligently interprets the changes without the need to restart the app or recompile the APK of it.

Fast and full-featured emulator
Android Emulator installs automatically and allows applications to start faster than a real device, it also allows us to create prototypes of our app and test them on all available Android device configurations such as phones, tablets and Android Wear devices and Android TV.

Smart Code Editor
The intelligent code editor allows us to write more efficient code, work faster and be more productive.

Solid and flexible compilation system
Android Studio offers us compilation automation, dependency management and customizable compilation settings.

Optimized for all Android devices
Android Studio has a unified environment through which it will be possible to compile applications for Android phones and tablets, as well as for Android Wear, Android TV and Android Auto devices.

Lintelligence
Android Studio offers a solid and static analysis framework, and includes more than 280 different Lint checks throughout the app.

Code templates and sample apps
Project and code templates are included in Android Studio which have been designed to allow the addition of established patterns, such as a navigation side panel and a view pager.

Test tools and frameworks
Android Studio offers a wide variety of tools to evaluate Android apps with JUnit 4 and functional UI test frameworks.

C ++ and NDK support
By being compatible with the editing of C and C ++ project files, it is possible to compile JNI components quickly in the app.

Firebase and Cloud Integration
With the Firebase wizard it will be possible to connect the app to Firebase and from there add services such as Analytics, Authentication and Notifications, among others. The built-in tools for Google Cloud Platform give us the possibility to create and implement a backend for the Android app using services such as Google Cloud Endpoints and project modules specially designed for Google App Engine.
Functionalities
  • APK Analyzer
  • Layout editor
  • Translation Editor
  • Study of vector resources
Requirements to use Android Studio
The basic requirements to install Android Studio are:
  • 64-bit distribution which runs 32-bit applications
  • A GNOME or KDE desktop environment
  • GNU C Library (glibc) 2.19 or later
  • 2 GB of available disk space, 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)
  • At least 3 GB of RAM, recommended 8 GB of RAM, the Android emulator consumes 1 GB of RAM
  • At least 1280 x 800 screen resolution

Now let's see how to install Android Studio on Linux, in this case Ubuntu 17.10..

image

Login Join up!


by (3.5m points)
edited

Related questions

+5 votes
1 answer
+4 votes
1 answer
asked Aug 16, 2023 in Linux/Unix by backtothefuture (551k points) | 51 views
+3 votes
1 answer
asked Oct 9, 2019 in Linux / Unix by backtothefuture (551k points) | 208 views
+5 votes
1 answer
asked Sep 8, 2020 in Linux / Unix by backtothefuture (551k points) | 844 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,634 questions
10,766 answers
510 comments
3 users