Skip to content

Commit 26a1ca0

Browse files
committed
Add build instructions for simple prebuilt apps
1 parent 1cbef4f commit 26a1ca0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

static/build.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,14 @@ <h3><a href="#prebuilt-apps">Prebuilt apps</a></h3>
10321032
<p>The official releases of our App Store, Auditor, Camera and PdfViewer apps are
10331033
bundled as apks into external/ repositories. The no-code AppCompatConfig and
10341034
GmsCompatConfig apps are done the same way. These are built and signed with the
1035-
standard <code>gradle</code> Android plugin build system.</p>
1035+
standard <code>gradle</code> Android plugin build system. You can also build those apps from the source code by following these steps:
1036+
</p>
1037+
<ul>
1038+
<li>Install Gradle, OpenJDK 17 for developers (which should be called <code>java-17-openjdk-devel</code> on Linux), Android Studio, and npm.</li>
1039+
<li>In the project you want to build, create a <code>local.properties</code> file and inside it, set the path to your JDK e.g. <code>sdk.dir=/home/jane.doe/Android/Sdk</code></li>
1040+
<li>In Android Studio's Device Manager, make sure you have a device running (virtual device, or physical device paired using wi-fi)</li>
1041+
<li>From a console in your project folder, run <code>gradle installDebug</code>. This will install the app from the source code, alongside any prebuilt version of the app which you may already have.</li>
1042+
</ul>
10361043

10371044
<p>The TalkBack screen reader is built from our talkback fork repository and
10381045
included as a prebuilt signed with the OS releasekey. It may be presigned in

0 commit comments

Comments
 (0)