Skip to content
Snippets Groups Projects
building.md 1.8 KiB
Newer Older
---
aliases:
- /building
title: Building the Source Code
---

Building the Source Code
------------------------

1\) Download and install [Android
Studio](http://developer.android.com/sdk/index.html).

2\) Open Android Studio and select **Check out project from Version
Control**.

![](/img/building/01.png)
3\) Select **Git** from the popup menu.

![](/img/building/02.png)
4\) Enter **https://code.briarproject.org/briar/briar.git** as the **Git
Repository URL**, then click **Clone**.

![](/img/building/03.png)
5\) When the source code has downloaded, click **Yes** to open the
project.

![](/img/building/04.png)
6\) Click **OK** to accept the default settings.

![](/img/building/05.png)
7\) If Android Studio asks you about an **Unregistered VCS root**, click
**Add root**. This will allow you to update the source code later
without repeating the previous steps.

![](/img/building/06.png)
8\) Select **Build > Build APK** from the Android Studio menu.

![](/img/building/13.png)
9\) When the build process finishes, click **Show in File Manager** to
open the folder containing the APK file, **briar-android-debug.apk**.
You can
[sideload](http://www.digitalcitizen.life/how-sideload-apps-using-apk-files-android-devices)
this file onto any Android device.

![](/img/building/11.png)
10\) Briar is under constant development, so you should check for updates
regularly. To get the latest version of the source code, click the
**Update Project** button on the Android Studio toolbar.

![](/img/building/09.png)
11\) Click **OK** to accept the default settings.

![](/img/building/10.png)
12\) Repeat steps 8 and 9 to build and install the updated app.

If you're interested in getting involved or following the progress of
the project, please [join the development mailing
list](https://lists.sourceforge.net/lists/listinfo/briar-devel).