# Installing and Configuring Android Studio

To run, test and debug an Android project you create in Xojo requires that Google's Android Studio development tool be installed but you will not have to use it.

<div id="/topics/android/installing_android_studio/installing_android_studio">

Installing Android Studio on Windows -------------------------

</div>

1.  [Download the .exe file.](https://developer.android.com/studio)
2.  Double-click the .exe file.

Installing Android Studio on macOS -------------------------

1.  [Download the DMG file.](https://developer.android.com/studio)
2.  Double-click the DMG file and drag Android Studio to the Applications folder.
3.  Navigate to the Applications folder and launch Android Studio.

Installing Android Studio on Linux via the Package Manager -------------------------

<div class="note">

<div class="title">

Note

</div>

On 64-bit machines, download the required libraries first.

</div>

``` xojo
For Debian/Ubuntu-based distros 
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
```

``` xojo
For Fedora/Red Hat-based distros 
sudo dnf install zlib.i686 ncurses-libs.i686 bzip2-libs.i686
```

1.  Download the Linux zip file. \<<https://developer.android.com/studio>\>\`\_
2.  Unpack the file to an appropriate location, such as '/usr/local/'.
3.  In the terminal, navigate to 'android-studio/bin/' and execute 'studio.sh'.

Setting Up Android Studio for the First Time -------------------------

1.  The first time you launch Android Studio, you will need to configure it. Android Studio will ask you if you would like to import Android Studio settings. Make sure *Do not import settings* is selected then click **OK**.
2.  Android Studio will open a window that will take you through the initial setup. On the Welcome page, click **Next**.
3.  On the Install Type page, leave it set to *Standard* and click **Next**.
4.  On the Select UI Theme page, choose Dark (the default) or Light then click **Next**.
5.  On the License Agreement page, in the list on the left, make sure android-sdk-license is selected then click **Accept**.
6.  On that same page, click on android-sdk-arm-dbt-license to select it then click **Accept**.
7.  Now click **Finish**.
8.  Android Studio will spend a few minutes downloading various files. When it's done, click **Finish**.

<div class="note">

<div class="title">

Note

</div>

As Google changes Android Studio, these steps may be not be 100% correct.

</div>

<div class="seealso">

`Running/Debugging via the Android Emulator</topics/debugging/android/debugging_via_the_emulator>``Setting up on-device debugging</topics/debugging/android/android_debugging_on_device>`, `Android QuickStart</getting_started/quickstarts/android_quickstart>`, `Android Tutorial</getting_started/tutorials/android_tutorial>`

</div>
