Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
bb7b9f1
New translations updatetonewversion.md (Romanian)
MilosKozak Mar 16, 2026
ac21e42
New translations documentationupdate.md (Romanian)
MilosKozak Mar 16, 2026
b16bbb1
New translations index.md (Romanian)
MilosKozak Mar 16, 2026
9685ce5
New translations buildingaaps.md (Romanian)
MilosKozak Mar 16, 2026
3e739be
New translations computerbuild.md (Romanian)
MilosKozak Mar 16, 2026
02d9eaa
New translations updatecomputerbuild.md (Romanian)
MilosKozak Mar 16, 2026
030ac2f
New translations clibuild.md (Romanian)
MilosKozak Mar 16, 2026
3a21018
New translations updatetonewversion.md (French)
MilosKozak Mar 16, 2026
4417625
New translations documentationupdate.md (French)
MilosKozak Mar 16, 2026
1ac3fbe
New translations index.md (French)
MilosKozak Mar 16, 2026
05a6823
New translations buildingaaps.md (French)
MilosKozak Mar 16, 2026
9b2057f
New translations computerbuild.md (French)
MilosKozak Mar 16, 2026
9d39e2d
New translations updatecomputerbuild.md (French)
MilosKozak Mar 16, 2026
9483284
New translations clibuild.md (French)
MilosKozak Mar 16, 2026
864632c
New translations updatetonewversion.md (Spanish)
MilosKozak Mar 16, 2026
94f22f3
New translations documentationupdate.md (Spanish)
MilosKozak Mar 16, 2026
516cdb5
New translations index.md (Spanish)
MilosKozak Mar 16, 2026
90fab18
New translations buildingaaps.md (Spanish)
MilosKozak Mar 16, 2026
a6d1fa7
New translations computerbuild.md (Spanish)
MilosKozak Mar 16, 2026
154ac59
New translations updatecomputerbuild.md (Spanish)
MilosKozak Mar 16, 2026
fda74bb
New translations clibuild.md (Spanish)
MilosKozak Mar 16, 2026
664a1da
New translations updatetonewversion.md (Czech)
MilosKozak Mar 16, 2026
cace39b
New translations documentationupdate.md (Czech)
MilosKozak Mar 16, 2026
e47aa57
New translations index.md (Czech)
MilosKozak Mar 16, 2026
ddfe4c5
New translations buildingaaps.md (Czech)
MilosKozak Mar 16, 2026
2b0cf72
New translations computerbuild.md (Czech)
MilosKozak Mar 16, 2026
9e43486
New translations updatecomputerbuild.md (Czech)
MilosKozak Mar 16, 2026
c258724
New translations clibuild.md (Czech)
MilosKozak Mar 16, 2026
166d939
New translations updatetonewversion.md (German)
MilosKozak Mar 16, 2026
3453fc2
New translations documentationupdate.md (German)
MilosKozak Mar 16, 2026
863f658
New translations index.md (German)
MilosKozak Mar 16, 2026
7f5acd9
New translations buildingaaps.md (German)
MilosKozak Mar 16, 2026
3a12c4d
New translations computerbuild.md (German)
MilosKozak Mar 16, 2026
cd96fab
New translations updatecomputerbuild.md (German)
MilosKozak Mar 16, 2026
540ce60
New translations clibuild.md (German)
MilosKozak Mar 16, 2026
6cb26cb
New translations updatetonewversion.md (Greek)
MilosKozak Mar 16, 2026
95227f5
New translations documentationupdate.md (Greek)
MilosKozak Mar 16, 2026
e1a31c5
New translations index.md (Greek)
MilosKozak Mar 16, 2026
a22f7cb
New translations buildingaaps.md (Greek)
MilosKozak Mar 16, 2026
b5069a8
New translations computerbuild.md (Greek)
MilosKozak Mar 16, 2026
8462dd3
New translations updatecomputerbuild.md (Greek)
MilosKozak Mar 16, 2026
f479d40
New translations clibuild.md (Greek)
MilosKozak Mar 16, 2026
a1d9b1d
New translations updatetonewversion.md (Hebrew)
MilosKozak Mar 16, 2026
2b804b5
New translations documentationupdate.md (Hebrew)
MilosKozak Mar 16, 2026
d55c3ee
New translations index.md (Hebrew)
MilosKozak Mar 16, 2026
951d065
New translations buildingaaps.md (Hebrew)
MilosKozak Mar 16, 2026
755e632
New translations computerbuild.md (Hebrew)
MilosKozak Mar 16, 2026
1ad1b6d
New translations updatecomputerbuild.md (Hebrew)
MilosKozak Mar 16, 2026
0afd664
New translations clibuild.md (Hebrew)
MilosKozak Mar 16, 2026
58e66db
New translations updatetonewversion.md (Korean)
MilosKozak Mar 16, 2026
bf3bc59
New translations documentationupdate.md (Korean)
MilosKozak Mar 16, 2026
c2f50cc
New translations index.md (Korean)
MilosKozak Mar 16, 2026
5c46525
New translations buildingaaps.md (Korean)
MilosKozak Mar 16, 2026
f52a1af
New translations computerbuild.md (Korean)
MilosKozak Mar 16, 2026
72159d5
New translations updatecomputerbuild.md (Korean)
MilosKozak Mar 16, 2026
9f4bf0d
New translations clibuild.md (Korean)
MilosKozak Mar 16, 2026
f67b12d
New translations updatetonewversion.md (Lithuanian)
MilosKozak Mar 16, 2026
dfb9683
New translations documentationupdate.md (Lithuanian)
MilosKozak Mar 16, 2026
1cb3de1
New translations index.md (Lithuanian)
MilosKozak Mar 16, 2026
5e66da1
New translations buildingaaps.md (Lithuanian)
MilosKozak Mar 16, 2026
68c268a
New translations computerbuild.md (Lithuanian)
MilosKozak Mar 16, 2026
bd23a1c
New translations updatecomputerbuild.md (Lithuanian)
MilosKozak Mar 16, 2026
e26ff95
New translations clibuild.md (Lithuanian)
MilosKozak Mar 16, 2026
b15ff93
New translations updatetonewversion.md (Dutch)
MilosKozak Mar 16, 2026
9891b50
New translations documentationupdate.md (Dutch)
MilosKozak Mar 16, 2026
7dc50f4
New translations index.md (Dutch)
MilosKozak Mar 16, 2026
67df552
New translations buildingaaps.md (Dutch)
MilosKozak Mar 16, 2026
93b4481
New translations computerbuild.md (Dutch)
MilosKozak Mar 16, 2026
047d0cf
New translations updatecomputerbuild.md (Dutch)
MilosKozak Mar 16, 2026
47793f6
New translations clibuild.md (Dutch)
MilosKozak Mar 16, 2026
700d536
New translations updatetonewversion.md (Polish)
MilosKozak Mar 16, 2026
8efacea
New translations documentationupdate.md (Polish)
MilosKozak Mar 16, 2026
f489997
New translations index.md (Polish)
MilosKozak Mar 16, 2026
7ee91a8
New translations buildingaaps.md (Polish)
MilosKozak Mar 16, 2026
3462141
New translations computerbuild.md (Polish)
MilosKozak Mar 16, 2026
d3dc11d
New translations updatecomputerbuild.md (Polish)
MilosKozak Mar 16, 2026
cba8ec9
New translations clibuild.md (Polish)
MilosKozak Mar 16, 2026
be951a0
New translations updatetonewversion.md (Portuguese)
MilosKozak Mar 16, 2026
463df71
New translations documentationupdate.md (Portuguese)
MilosKozak Mar 16, 2026
2942de2
New translations index.md (Portuguese)
MilosKozak Mar 16, 2026
5cf552b
New translations buildingaaps.md (Portuguese)
MilosKozak Mar 16, 2026
4d710e1
New translations computerbuild.md (Portuguese)
MilosKozak Mar 16, 2026
e0ab5d3
New translations updatecomputerbuild.md (Portuguese)
MilosKozak Mar 16, 2026
8fd72b9
New translations clibuild.md (Portuguese)
MilosKozak Mar 16, 2026
04a0d8c
New translations updatetonewversion.md (Russian)
MilosKozak Mar 16, 2026
c0c71ce
New translations documentationupdate.md (Russian)
MilosKozak Mar 16, 2026
da23e87
New translations index.md (Russian)
MilosKozak Mar 16, 2026
fbf6f1f
New translations buildingaaps.md (Russian)
MilosKozak Mar 16, 2026
9fb3eb8
New translations computerbuild.md (Russian)
MilosKozak Mar 16, 2026
4798b98
New translations updatecomputerbuild.md (Russian)
MilosKozak Mar 16, 2026
c5208a6
New translations clibuild.md (Russian)
MilosKozak Mar 16, 2026
70fb6dc
New translations updatetonewversion.md (Slovak)
MilosKozak Mar 16, 2026
4b691b0
New translations documentationupdate.md (Slovak)
MilosKozak Mar 16, 2026
cb3517e
New translations index.md (Slovak)
MilosKozak Mar 16, 2026
1738151
New translations buildingaaps.md (Slovak)
MilosKozak Mar 16, 2026
dcc3f25
New translations computerbuild.md (Slovak)
MilosKozak Mar 16, 2026
2f76c77
New translations updatecomputerbuild.md (Slovak)
MilosKozak Mar 16, 2026
fbae4c9
New translations clibuild.md (Slovak)
MilosKozak Mar 16, 2026
8e0b72c
New translations updatetonewversion.md (Turkish)
MilosKozak Mar 16, 2026
5dba3ef
New translations documentationupdate.md (Turkish)
MilosKozak Mar 16, 2026
58370cb
New translations index.md (Turkish)
MilosKozak Mar 16, 2026
bb537c8
New translations buildingaaps.md (Turkish)
MilosKozak Mar 16, 2026
db72504
New translations computerbuild.md (Turkish)
MilosKozak Mar 16, 2026
e0415d3
New translations updatecomputerbuild.md (Turkish)
MilosKozak Mar 16, 2026
b0eb110
New translations clibuild.md (Turkish)
MilosKozak Mar 16, 2026
d79466f
New translations updatetonewversion.md (Chinese Simplified)
MilosKozak Mar 16, 2026
0e33894
New translations documentationupdate.md (Chinese Simplified)
MilosKozak Mar 16, 2026
12d10f3
New translations index.md (Chinese Simplified)
MilosKozak Mar 16, 2026
c5313aa
New translations buildingaaps.md (Chinese Simplified)
MilosKozak Mar 16, 2026
b5b6e46
New translations computerbuild.md (Chinese Simplified)
MilosKozak Mar 16, 2026
b8ea066
New translations updatecomputerbuild.md (Chinese Simplified)
MilosKozak Mar 16, 2026
44e3cb9
New translations clibuild.md (Chinese Simplified)
MilosKozak Mar 16, 2026
5795636
New translations updatetonewversion.md (Chinese Traditional)
MilosKozak Mar 16, 2026
1b47c08
New translations documentationupdate.md (Chinese Traditional)
MilosKozak Mar 16, 2026
58c6300
New translations index.md (Chinese Traditional)
MilosKozak Mar 16, 2026
5d693bc
New translations buildingaaps.md (Chinese Traditional)
MilosKozak Mar 16, 2026
a761b87
New translations computerbuild.md (Chinese Traditional)
MilosKozak Mar 16, 2026
7780d20
New translations updatecomputerbuild.md (Chinese Traditional)
MilosKozak Mar 16, 2026
585097a
New translations clibuild.md (Chinese Traditional)
MilosKozak Mar 16, 2026
569a294
New translations updatetonewversion.md (Portuguese, Brazilian)
MilosKozak Mar 16, 2026
e42a595
New translations documentationupdate.md (Portuguese, Brazilian)
MilosKozak Mar 16, 2026
2d97c8b
New translations index.md (Portuguese, Brazilian)
MilosKozak Mar 16, 2026
271b57a
New translations buildingaaps.md (Portuguese, Brazilian)
MilosKozak Mar 16, 2026
ac60c30
New translations computerbuild.md (Portuguese, Brazilian)
MilosKozak Mar 16, 2026
e731ac8
New translations updatecomputerbuild.md (Portuguese, Brazilian)
MilosKozak Mar 16, 2026
e836028
New translations clibuild.md (Portuguese, Brazilian)
MilosKozak Mar 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/CROWDIN/cs/Maintenance/DocumentationUpdate.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Docs updates & changes

## March 2026

- [Add CLI Build option](../SettingUpAaps/CLIBuild.md) @je-l
- Rename *Computer Build* to *Android Studio Build*. Preserve file names for URLs.

## January 2025

- [3.4](#version3400) release and documentation update roll-up (Wizard, Computer build versions, Config Builder)
Expand Down
4 changes: 2 additions & 2 deletions docs/CROWDIN/cs/Maintenance/UpdateComputerBuild.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Update with a computer
# Update with Android Studio

## Vyrobte si místo stažení

Expand All @@ -8,7 +8,7 @@
In case you want to build **AAPS** on a new computer : copy your back-up keystore file to the new computer. Then follow the [Initial build **AAPS** procedure](../SettingUpAaps/BuildingAaps.md) instead of this guide. With the only difference that instead of creating a new keystore, you can select the one you have copied on the new computer.
```

## Overview for updating to a new version of AAPS with a computer
## Overview for updating to a new version of AAPS with Android Studio

```{contents} Steps for updating to a new version of AAPS
:depth: 1
Expand Down
6 changes: 5 additions & 1 deletion docs/CROWDIN/cs/Maintenance/UpdateToNewVersion.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@

If you already built your AAPS app with the Browser Build method, follow [these instructions](./UpdateBrowserBuild.md).

## Update AAPS with a computer
## Update AAPS with Android Studio

Follow [these instructions.](./UpdateComputerBuild.md).

## Update AAPS with the command-line

Use the [same instructions](../SettingUpAaps/CLIBuild.md) as when building AAPS previously, but pull new changes with git.

(Update-to-new-version-check-aaps-version-on-phone)=

### Zkontrolujte verzi AAPS na telefonu
Expand Down
15 changes: 11 additions & 4 deletions docs/CROWDIN/cs/SettingUpAaps/BuildingAaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,26 @@ See [FAQ page](../UsefulLinks/FAQ.md) for details.

---

Two methods are available to build the AAPS app:
Three methods are available to build the AAPS app:

### Build with a browser
### Build with a browser (recommended)

You can build the app with your smartphone using GitHub actions, and save it in your Google Drive.

**[Follow these instructions.](./BrowserBuild.md)**

----

### Build with a computer
### Build with Android Studio

You can build the app with your computer using Android Studio.
You can build the app with your computer using Android Studio. This used to be the only build option, nowadays Android Studio is mostly used by developers who consider making code changes.

**[Follow these instructions.](./ComputerBuild.md)**

----

### Build using the command-line

This option is intended for those who prefer to build AAPS in local command-line, without installing Android Studio.

**[Follow these instructions.](./CLIBuild.md)**
54 changes: 54 additions & 0 deletions docs/CROWDIN/cs/SettingUpAaps/CLIBuild.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Build instructions for the command-line

```{admonition} For users familiar with the command-line and git
:class: information

The simplest option to build AAPS is the [Browser build](./BrowserBuild.md) alternative.
```

Tested with Fedora and Debian Linux, other systems should work with minimal adjustments.

## Požadavky

Consult the minimum required Java version from [this table](#Building-APK-recommended-specification-of-computer-for-building-apk-file). Install the appropriate OpenJDK package using the system package manager. For example in Debian, the packages are named like `openjdk-21-jdk`. It should include `javac` and `keytool` binaries.

Download the *Android Command line tools* package from the [Android Studio page](https://developer.android.com/studio#command-line-tools-only). Android Studio itself is not required. More information about installing this package is found in [sdkmanager docs](https://developer.android.com/tools/sdkmanager). After the package is installed, you should manually set two [environment variables](https://developer.android.com/tools/variables): `ANDROID_HOME` and `PATH`. Finally, run `sdkmanager --licenses` to finish the installation.

## Building AAPS with Gradle wrapper

### 1. Generate a Java keystore file for signing AAPS

If you already have a keystore file for signing AAPS, reuse that.

```sh
keytool -genkeypair -v \
-keystore aaps-keystore.jks \
-alias aaps-key \
-keyalg RSA \
-keysize 4096 \
-validity 20000
```

You will need the keystore file and passphrase every time you update AAPS.

### 2. Compile the AAPS APK file

Clone the [git repo](https://github.com/nightscout/AndroidAPS) if not already cloned. AAPS uses master branch for the latest stable version, ensure you are on the branch/tag you want to build.

Run `./gradlew :app:assembleFullRelease` in the repo. It automatically downloads Gradle, dependencies, and then compiles the code. When the build succeeds, you should have an unsigned APK at `app/build/outputs/apk/full/release/app-full-release-unsigned.apk`. It should have also installed an `apksigner` binary to `$ANDROID_HOME`. Update your `PATH` again.

### 3. Create a signed APK file from the unsigned one

<!-- Suggest building outside the git repo, to minimize risk of accidental APK commits -->

Change to your home directory and create a signed APK file:

```sh
apksigner sign \
--ks path/to/aaps-keystore.jks \
--ks-key-alias aaps-key \
--out app-full-release-signed.apk \
./AndroidAPS/app/build/outputs/apk/full/release/app-full-release-unsigned.apk
```

Now you have `app-full-release-signed.apk` ready for installation or upgrade.
4 changes: 3 additions & 1 deletion docs/CROWDIN/cs/SettingUpAaps/ComputerBuild.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Computer Build
<!-- Android Studio Build, FKA Computer Build. Preserve filenames to avoid breaking URLs. -->

# Android Studio Build

This is the traditional method to build your AAPS app.

Expand Down
5 changes: 3 additions & 2 deletions docs/CROWDIN/cs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ Setting up the reporting server <./SettingUpAaps/SettingUpTheReportingServer.md>
- Tidepool <./SettingUpAaps/Tidepool.md>
Building AAPS <./SettingUpAaps/BuildingAaps.md>
- Browser Build <./SettingUpAaps/BrowserBuild.md>
- Computer Build <./SettingUpAaps/ComputerBuild.md>
- Android Studio Build <./SettingUpAaps/ComputerBuild.md>
- CLI Build <./SettingUpAaps/CLIBuild.md>
Transferring and Installing AAPS <./SettingUpAaps/TransferringAndInstallingAaps.md>
Setup Wizard <./SettingUpAaps/SetupWizard.md>
Your AAPS Profile <./SettingUpAaps/YourAapsProfile.md>
Expand Down Expand Up @@ -149,7 +150,7 @@ AAPS Release Notes <./Maintenance/ReleaseNotes.md>
Documentation updates <./Maintenance/DocumentationUpdate.md>
Updating to a new version of AAPS <./Maintenance/UpdateToNewVersion.md>
- Browser Update <./Maintenance/UpdateBrowserBuild.md>
- Computer Update <./Maintenance/UpdateComputerBuild.md>
- Android Studio Update <./Maintenance/UpdateComputerBuild.md>

```

Expand Down
5 changes: 5 additions & 0 deletions docs/CROWDIN/de/Maintenance/DocumentationUpdate.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Docs Updates & Änderungen

## March 2026

- [Add CLI Build option](../SettingUpAaps/CLIBuild.md) @je-l
- Rename *Computer Build* to *Android Studio Build*. Preserve file names for URLs.

## Januar 2025

- [3.4](#version3400) Veröffentlichung und Dokumentation aktualisiert Roll-up (Einrichtungsasssistent, Computer Build-Versionen, Konfiguration)
Expand Down
4 changes: 2 additions & 2 deletions docs/CROWDIN/de/Maintenance/UpdateComputerBuild.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Mit einem PC/Computer aktualisieren
# Update with Android Studio

## Kein Download möglich - APK muss selbst erstellt werden

Expand All @@ -8,7 +8,7 @@ Aufgrund der gesetzlichen Regelungen für Medizinprodukte ist **AAPS** nicht als
Falls Du **AAPS** auf einem neuen Computer erstellen möchtest: Kopiere das Backup Deiner Keystore-Datei auf den neuen Computer. Folge dann dem [Prozess für die erstmalige **AAPS**-Erstellung](../SettingUpAaps/BuildingAaps.md) und nicht dieser Anleitung. Der einzige Unterschied besteht darin, dass Du anstelle einen neuen Keystore zu erstellen, den Keystore auswählst, den Du auf den neuen Computer kopiert hast.
```

## Übersicht zur Aktualisierung auf eine neue AAPS-Version mit einem Computer
## Overview for updating to a new version of AAPS with Android Studio

```{contents} Steps for updating to a new version of AAPS
:depth: 1
Expand Down
6 changes: 5 additions & 1 deletion docs/CROWDIN/de/Maintenance/UpdateToNewVersion.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ Aufgrund der gesetzlichen Regelungen für Medizinprodukte ist **AAPS** nicht als

Wenn Du die AAPS-App bereits mit der Browser-Build-Methode erstellt hast, befolge [diesen Anweisungen](./UpdateBrowserBuild.md).

## AAPS mit einem Computer aktualisieren
## Update AAPS with Android Studio

Nutze [diese Anleitung](./UpdateComputerBuild.md).

## Update AAPS with the command-line

Use the [same instructions](../SettingUpAaps/CLIBuild.md) as when building AAPS previously, but pull new changes with git.

(Update-to-new-version-check-aaps-version-on-phone)=

### AAPS-Version auf dem Smartphone überprüfen
Expand Down
15 changes: 11 additions & 4 deletions docs/CROWDIN/de/SettingUpAaps/BuildingAaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,26 @@ Zu den Details schaue bitte auf die [FAQ-Seite](../UsefulLinks/FAQ.md).

---

Die AAPS-App kann auf zwei Wegen erstellt werden:
Three methods are available to build the AAPS app:

### Mit einem Browser erstellen
### Build with a browser (recommended)

Du kannst die App mit Deinem Smartphone und entsprechenden GitHub-Aktionen erstellen und in Deinem Google Drive speichern.

**[Nutze diese Anleitung.](./BrowserBuild.md)**

----

### Mit einem Computer erstellen
### Build with Android Studio

Du kannst die App mit Deinem Computer und dem „Android Studio“ erstellen.
You can build the app with your computer using Android Studio. This used to be the only build option, nowadays Android Studio is mostly used by developers who consider making code changes.

**[Nutze diese Anleitung.](./ComputerBuild.md)**

----

### Build using the command-line

This option is intended for those who prefer to build AAPS in local command-line, without installing Android Studio.

**[Nutze diese Anleitung.](./CLIBuild.md)**
54 changes: 54 additions & 0 deletions docs/CROWDIN/de/SettingUpAaps/CLIBuild.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Build instructions for the command-line

```{admonition} For users familiar with the command-line and git
:class: information

The simplest option to build AAPS is the [Browser build](./BrowserBuild.md) alternative.
```

Tested with Fedora and Debian Linux, other systems should work with minimal adjustments.

## Voraussetzungen

Consult the minimum required Java version from [this table](#Building-APK-recommended-specification-of-computer-for-building-apk-file). Install the appropriate OpenJDK package using the system package manager. For example in Debian, the packages are named like `openjdk-21-jdk`. It should include `javac` and `keytool` binaries.

Download the *Android Command line tools* package from the [Android Studio page](https://developer.android.com/studio#command-line-tools-only). Android Studio itself is not required. More information about installing this package is found in [sdkmanager docs](https://developer.android.com/tools/sdkmanager). After the package is installed, you should manually set two [environment variables](https://developer.android.com/tools/variables): `ANDROID_HOME` and `PATH`. Finally, run `sdkmanager --licenses` to finish the installation.

## Building AAPS with Gradle wrapper

### 1. Generate a Java keystore file for signing AAPS

If you already have a keystore file for signing AAPS, reuse that.

```sh
keytool -genkeypair -v \
-keystore aaps-keystore.jks \
-alias aaps-key \
-keyalg RSA \
-keysize 4096 \
-validity 20000
```

You will need the keystore file and passphrase every time you update AAPS.

### 2. Compile the AAPS APK file

Clone the [git repo](https://github.com/nightscout/AndroidAPS) if not already cloned. AAPS uses master branch for the latest stable version, ensure you are on the branch/tag you want to build.

Run `./gradlew :app:assembleFullRelease` in the repo. It automatically downloads Gradle, dependencies, and then compiles the code. When the build succeeds, you should have an unsigned APK at `app/build/outputs/apk/full/release/app-full-release-unsigned.apk`. It should have also installed an `apksigner` binary to `$ANDROID_HOME`. Update your `PATH` again.

### 3. Create a signed APK file from the unsigned one

<!-- Suggest building outside the git repo, to minimize risk of accidental APK commits -->

Change to your home directory and create a signed APK file:

```sh
apksigner sign \
--ks path/to/aaps-keystore.jks \
--ks-key-alias aaps-key \
--out app-full-release-signed.apk \
./AndroidAPS/app/build/outputs/apk/full/release/app-full-release-unsigned.apk
```

Now you have `app-full-release-signed.apk` ready for installation or upgrade.
4 changes: 3 additions & 1 deletion docs/CROWDIN/de/SettingUpAaps/ComputerBuild.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Computer Build
<!-- Android Studio Build, FKA Computer Build. Preserve filenames to avoid breaking URLs. -->

# Android Studio Build

Dies ist die herkömmliche Methode, um Deine AAPS-App zu erstellen.

Expand Down
39 changes: 20 additions & 19 deletions docs/CROWDIN/de/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,22 @@ Komponentenübersicht <./Getting-Started/ComponentOverview.md>
```

```{toctree}
:caption: 3) AAPS
:caption: 3) Setting up AAPS

Einrichten des Berichtsservers <./SettingUpAaps/SettingUpTheReportingServer.md>
Setting up the reporting server <./SettingUpAaps/SettingUpTheReportingServer.md>
- Nightscout <./SettingUpAaps/Nightscout.md>
- Tidepool <./SettingUpAaps/Tidepool.md>
AAPS erstellen <./SettingUpAaps/BuildingAaps.md>
- Im Browser (Browser Build) <./SettingUpAaps/BrowserBuild.md>
- Mit dem Computer (Computer Build) <./SettingUpAaps/ComputerBuild.md>
AAPS übertragen und installieren <./SettingUpAaps/TransferringAndInstallingAaps.md>
Einrichtungsassistent <./SettingUpAaps/SetupWizard.md>
Dein AAPS-Profil <. SettingUpAaps/YourAapsProfile.md>
Ändern der AAPS-Konfiguration <./SettingUpAaps/ChangeAapsConfiguration.md>
- Konfiguation <./SettingUpAaps/ConfigBuilder.md>
- Einstellungen <./SettingUpAaps/Preferences.md>
Abschluss der Ziele <./SettingUpAaps/CompletingTheObjectives.md>
Building AAPS <./SettingUpAaps/BuildingAaps.md>
- Browser Build <./SettingUpAaps/BrowserBuild.md>
- Android Studio Build <./SettingUpAaps/ComputerBuild.md>
- CLI Build <./SettingUpAaps/CLIBuild.md>
Transferring and Installing AAPS <./SettingUpAaps/TransferringAndInstallingAaps.md>
Setup Wizard <./SettingUpAaps/SetupWizard.md>
Your AAPS Profile <./SettingUpAaps/YourAapsProfile.md>
Change AAPS configuration <./SettingUpAaps/ChangeAapsConfiguration.md>
- Config Builder <./SettingUpAaps/ConfigBuilder.md>
- Preferences <./SettingUpAaps/Preferences.md>
Completing the objectives <./SettingUpAaps/CompletingTheObjectives.md>
```

```{toctree}
Expand Down Expand Up @@ -141,15 +142,15 @@ Austausch-Plattform für eigene Zifferblätter <./ExchangeSiteCustomWatchfaces/i
```

```{toctree}
:caption: 7) AAPS pflegen
:caption: 7) Maintenance of AAPS

Export/Import der Einstellungen <./Maintenance/ExportImporteinstellungen. d>
Deine Daten prüfen <./Maintenance/Reviewing.md>
Export/Import Settings <./Maintenance/ExportImportSettings.md>
Reviewing your data <./Maintenance/Reviewing.md>
AAPS Release Notes <./Maintenance/ReleaseNotes.md>
Dokumentation aktualisieren <. Maintenance/DocumentationUpdate.md>
Update auf eine neue AAPS-Version <./Maintenance/UpdateToNewVersion. d>
- Browser-Update <./Maintenance/UpdateBrowserBuild.md>
- Computer-Update <./Maintenance/UpdateComputerBuild.md>
Documentation updates <./Maintenance/DocumentationUpdate.md>
Updating to a new version of AAPS <./Maintenance/UpdateToNewVersion.md>
- Browser Update <./Maintenance/UpdateBrowserBuild.md>
- Android Studio Update <./Maintenance/UpdateComputerBuild.md>

```

Expand Down
5 changes: 5 additions & 0 deletions docs/CROWDIN/el/Maintenance/DocumentationUpdate.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Docs updates & changes

## March 2026

- [Add CLI Build option](../SettingUpAaps/CLIBuild.md) @je-l
- Rename *Computer Build* to *Android Studio Build*. Preserve file names for URLs.

## January 2025

- [3.4](#version3400) release and documentation update roll-up (Wizard, Computer build versions, Config Builder)
Expand Down
4 changes: 2 additions & 2 deletions docs/CROWDIN/el/Maintenance/UpdateComputerBuild.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Update with a computer
# Update with Android Studio

## Φτιάξτε το μόνοι σας, αντί να το κατεβάσετε

Expand All @@ -8,7 +8,7 @@
In case you want to build **AAPS** on a new computer : copy your back-up keystore file to the new computer. Then follow the [Initial build **AAPS** procedure](../SettingUpAaps/BuildingAaps.md) instead of this guide. With the only difference that instead of creating a new keystore, you can select the one you have copied on the new computer.
```

## Overview for updating to a new version of AAPS with a computer
## Overview for updating to a new version of AAPS with Android Studio

```{contents} Steps for updating to a new version of AAPS
:depth: 1
Expand Down
6 changes: 5 additions & 1 deletion docs/CROWDIN/el/Maintenance/UpdateToNewVersion.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@

If you already built your AAPS app with the Browser Build method, follow [these instructions](./UpdateBrowserBuild.md).

## Update AAPS with a computer
## Update AAPS with Android Studio

Follow [these instructions.](./UpdateComputerBuild.md).

## Update AAPS with the command-line

Use the [same instructions](../SettingUpAaps/CLIBuild.md) as when building AAPS previously, but pull new changes with git.

(Update-to-new-version-check-aaps-version-on-phone)=

### Ελέγξτε την έκδοση AAPS στο τηλέφωνό σας
Expand Down
Loading
Loading