xref: /aosp_15_r20/external/oboe/apps/OboeTester/docs/Build.md (revision 05767d913155b055644481607e6fa1e35e2fe72c)
1*05767d91SRobert Wu[Home](README.md)
2*05767d91SRobert Wu
3*05767d91SRobert Wu# How to Build OboeTester
4*05767d91SRobert Wu
5*05767d91SRobert WuNote that you can now [download OboeTester from the Play Store](https://play.google.com/store/apps/details?id=com.mobileer.oboetester).
6*05767d91SRobert Wu
7*05767d91SRobert WuBut if you want the latest version, or if you want to debug OboeTester, then you can build it using Android Studio.
8*05767d91SRobert WuDownload the top level oboe repository from GitHub.
9*05767d91SRobert WuThen use Android Studio (3.3 or above) to build the app in this "apps/OboeTester".
10*05767d91SRobert Wu
11*05767d91SRobert Wu## Requirements
12*05767d91SRobert Wu
13*05767d91SRobert Wu* AndroidStudio
14*05767d91SRobert Wu* Android device or emulator
15*05767d91SRobert Wu* git installed on your computer (optional)
16*05767d91SRobert Wu* USB cable to connect your computer and your phone
17*05767d91SRobert Wu
18*05767d91SRobert Wu## Download Oboe
19*05767d91SRobert Wu
20*05767d91SRobert WuYou can either use git to clone Oboe or download a Zip archive.
21*05767d91SRobert WuIf you use git then you can quickly update the code or contribute changes.
22*05767d91SRobert WuIf you don't use git then just download the Zip archive.
23*05767d91SRobert Wu
24*05767d91SRobert Wu1. Visit https://github.com/google/oboe
25*05767d91SRobert Wu2. Click on the green button that says "Clone or Download" and follow the instructions.
26*05767d91SRobert Wu
27*05767d91SRobert Wu## Build and Run OboeTester
28*05767d91SRobert Wu
29*05767d91SRobert Wu1. Launch Android Studio
30*05767d91SRobert Wu2. Clock Open from the File menu and browse to the "oboe/apps/OboeTester" folder. Select that folder.
31*05767d91SRobert Wu3. Wait about a minute for the project to load.
32*05767d91SRobert Wu4. Connect an Android phone to your computer using a USB cable.
33*05767d91SRobert Wu5. Look at your phone. You may need to give permission to use ADB on your phone.
34*05767d91SRobert Wu5. Select "Run App" from the "Run" menu.
35*05767d91SRobert Wu6. OboeTester should build and then appear on your computer.
36