From Fedora Project Wiki

(Remove version, since it changes)
No edit summary
Line 25: Line 25:
<li>Android Studio IDE</li>
<li>Android Studio IDE</li>
<li>Android SDK tools</li>
<li>Android SDK tools</li>
<li>Android 5.0 (Lollipop) Platform</li>
<li>Android 10.0 (Q) Platform</li>
<li>Android 5.0 emulator system image with Google APIs</li>
<li>Android 10.0 emulator system image with Google APIs</li>
</ul>
</ul>
After you have downloaded the android-studio-bundle.tgz file from the above source, unpack the file to an appropriate location.<br>
After you have downloaded the <code>*.tar.gz</code> file from the above source, unpack the file to an appropriate location.<br>
Suppose it has been unpacked to some location <code>~/android-studio</code><br>
Suppose it has been unpacked to some location <code>~/android-studio</code><br>
Open a terminal window and go to <code>~/android-studio/bin</code><br>
Open a terminal window and go to <code>~/android-studio/bin</code><br>
Execute the file <code>studio.sh</code> by running the following command<br>
Execute the file <code>studio.sh</code> by running the following command<br>
<pre>
<pre>
sh studio.sh
./studio.sh
</pre>
</pre>
The libraries are installed. Android Studio starts up and a screen as below shows up:<br>
 
Android Studio Setup Wizard starts up and a screen as below shows up:
 
[[File:Android-studio-setup-wizard-01.png]]
 
Follow the steps of the wizard. It must download some components:
 
[[File:Android-studio-setup-wizard-02.png]]
 
The libraries are installed.
 
[[File:Android-studio-setup-wizard-03.png]]
 
Android Studio starts up and a screen as below shows up:<br>
[[image:Studio-startup.jpg]]
[[image:Studio-startup.jpg]]



Revision as of 12:35, 27 September 2019

Clear.png
The content appearing below may require cleanup
Please improve this article if you can, and move or remove this notice if appropriate.

Abstract

This page should provide "how-to" document about using Fedora Linux for developing applications for Android platform using Android Studio.

This document will cover requirements, installation, how to build a simple application and how to use Android Emulator or real devices for testing applications.

Target Fedora version

F-20 and higher

Requirements

  • GNOME or KDE desktop
  • GNU C Library (glibc) 2.15 or later
  • 2 GB RAM minimum, 4 GB RAM recommended
  • 400 MB hard disk space
  • At least 1 GB for Android SDK, emulator system images, and caches
  • 1280 x 800 minimum screen resolution
  • Oracle® Java Development Kit (JDK) 7 (open jdk also works but not fully tested yet)

Installation

Download the latest version of Android Studio from the official sources. It comes with the following:

  • Android Studio IDE
  • Android SDK tools
  • Android 10.0 (Q) Platform
  • Android 10.0 emulator system image with Google APIs

After you have downloaded the *.tar.gz file from the above source, unpack the file to an appropriate location.
Suppose it has been unpacked to some location ~/android-studio
Open a terminal window and go to ~/android-studio/bin
Execute the file studio.sh by running the following command

./studio.sh

Android Studio Setup Wizard starts up and a screen as below shows up:

Android-studio-setup-wizard-01.png

Follow the steps of the wizard. It must download some components:

Android-studio-setup-wizard-02.png

The libraries are installed.

Android-studio-setup-wizard-03.png

Android Studio starts up and a screen as below shows up:
Studio-startup.jpg

Building a simple Application

Select new project. The following screen shows up:
Studio-setup-1.png