(aaps-ci-option1-android)=
[Option 1](BrowserBuildO1.md) (generate a new keystore) on **Android** – the simplest, recommended choice.
**This step is essential – do not skip it, and do not use Chrome to open the preparation file.**
You must open `aaps-ci-preparation.html` **from inside File Manager Plus**. File Manager Plus starts a small local web server on your phone so the page can work. If you instead open the `.html` directly in Chrome, the page cannot start its server and the build will fail. This is the most common mistake.
:::{include} BrowserBuildFileManagerPlus.md :::
:::{include} BrowserBuildDownloadPrep.md :::
```{tab-item} Wiki
### Open the CI preparation help file
With File Manager+, open the file `aaps-ci-preparation-html` you downloaded above.
Select Downloads.

And search for this file, tap it to open it, open it with Chrome, tap Just once.

It will open like this.

Select Generate JKS. The field below will populate with characters.

Keep this tab open.
### Create a new secret in GitHub
Return to your GitHub browser tab: your own AndroidAPS copy.
1. Top right, tap the `...` button
2. Select Settings in the list

Scroll down to Security and select Secrets and variables.

Now select Actions

Scroll down to Repository secrets and tap New repository secret

You will see this dialog (scroll down if it's not visible).

Leave the tab opened like this.
Switch to the File Explorer Plus tab.
Tap the top Copy button.

Switch back to the GitHub tab.
In the Name field, paste the text you just copied. Use a long touch on the text box to show the paste menu.

Switch to the File Explorer Plus tab.
Tap the second Copy button.

Switch back to the GitHub tab.
1. In the Secret field, paste the text you just copied. Use a long touch on the text box to show the paste menu.
2. Tap Add secret.

Check the secret has been added, scroll down to verify.

```
```{tab-item} Video
(aaps-ci-option1-android-video)=
<!--crowdin: exclude-->
<div align="center" style="max-width: 360px; margin: auto; margin-bottom: 2em;">
<div style="position: relative; width: 100%; aspect-ratio: 9/16;">
<iframe
src="https://www.dailymotion.com/embed/video/x9rdrpy?autoplay=0&queue-enable=false&loop=1&mute=1"
loading="lazy"
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"
frameborder="0"
allowfullscreen>
</iframe>
</div>
</div>
```
Next: Step 3 – Authorize Google Drive →