Skip to content

Commit 1280604

Browse files
authored
Merge pull request #2543 from openaps/l10n_master
New Crowdin updates
2 parents 1d4ac48 + e836028 commit 1280604

File tree

126 files changed

+1549
-235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+1549
-235
lines changed

docs/CROWDIN/cs/Maintenance/DocumentationUpdate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Docs updates & changes
22

3+
## March 2026
4+
5+
- [Add CLI Build option](../SettingUpAaps/CLIBuild.md) @je-l
6+
- Rename *Computer Build* to *Android Studio Build*. Preserve file names for URLs.
7+
38
## January 2025
49

510
- [3.4](#version3400) release and documentation update roll-up (Wizard, Computer build versions, Config Builder)

docs/CROWDIN/cs/Maintenance/UpdateComputerBuild.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Update with a computer
1+
# Update with Android Studio
22

33
## Vyrobte si místo stažení
44

@@ -8,7 +8,7 @@
88
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.
99
```
1010

11-
## Overview for updating to a new version of AAPS with a computer
11+
## Overview for updating to a new version of AAPS with Android Studio
1212

1313
```{contents} Steps for updating to a new version of AAPS
1414
:depth: 1

docs/CROWDIN/cs/Maintenance/UpdateToNewVersion.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@
1616

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

19-
## Update AAPS with a computer
19+
## Update AAPS with Android Studio
2020

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

23+
## Update AAPS with the command-line
24+
25+
Use the [same instructions](../SettingUpAaps/CLIBuild.md) as when building AAPS previously, but pull new changes with git.
26+
2327
(Update-to-new-version-check-aaps-version-on-phone)=
2428

2529
### Zkontrolujte verzi AAPS na telefonu

docs/CROWDIN/cs/SettingUpAaps/BuildingAaps.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,26 @@ See [FAQ page](../UsefulLinks/FAQ.md) for details.
88

99
---
1010

11-
Two methods are available to build the AAPS app:
11+
Three methods are available to build the AAPS app:
1212

13-
### Build with a browser
13+
### Build with a browser (recommended)
1414

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

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

1919
----
2020

21-
### Build with a computer
21+
### Build with Android Studio
2222

23-
You can build the app with your computer using Android Studio.
23+
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.
2424

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

27+
----
28+
29+
### Build using the command-line
30+
31+
This option is intended for those who prefer to build AAPS in local command-line, without installing Android Studio.
32+
33+
**[Follow these instructions.](./CLIBuild.md)**
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Build instructions for the command-line
2+
3+
```{admonition} For users familiar with the command-line and git
4+
:class: information
5+
6+
The simplest option to build AAPS is the [Browser build](./BrowserBuild.md) alternative.
7+
```
8+
9+
Tested with Fedora and Debian Linux, other systems should work with minimal adjustments.
10+
11+
## Požadavky
12+
13+
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.
14+
15+
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.
16+
17+
## Building AAPS with Gradle wrapper
18+
19+
### 1. Generate a Java keystore file for signing AAPS
20+
21+
If you already have a keystore file for signing AAPS, reuse that.
22+
23+
```sh
24+
keytool -genkeypair -v \
25+
-keystore aaps-keystore.jks \
26+
-alias aaps-key \
27+
-keyalg RSA \
28+
-keysize 4096 \
29+
-validity 20000
30+
```
31+
32+
You will need the keystore file and passphrase every time you update AAPS.
33+
34+
### 2. Compile the AAPS APK file
35+
36+
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.
37+
38+
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.
39+
40+
### 3. Create a signed APK file from the unsigned one
41+
42+
<!-- Suggest building outside the git repo, to minimize risk of accidental APK commits -->
43+
44+
Change to your home directory and create a signed APK file:
45+
46+
```sh
47+
apksigner sign \
48+
--ks path/to/aaps-keystore.jks \
49+
--ks-key-alias aaps-key \
50+
--out app-full-release-signed.apk \
51+
./AndroidAPS/app/build/outputs/apk/full/release/app-full-release-unsigned.apk
52+
```
53+
54+
Now you have `app-full-release-signed.apk` ready for installation or upgrade.

docs/CROWDIN/cs/SettingUpAaps/ComputerBuild.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Computer Build
1+
<!-- Android Studio Build, FKA Computer Build. Preserve filenames to avoid breaking URLs. -->
2+
3+
# Android Studio Build
24

35
This is the traditional method to build your AAPS app.
46

docs/CROWDIN/cs/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ Setting up the reporting server <./SettingUpAaps/SettingUpTheReportingServer.md>
9191
- Tidepool <./SettingUpAaps/Tidepool.md>
9292
Building AAPS <./SettingUpAaps/BuildingAaps.md>
9393
- Browser Build <./SettingUpAaps/BrowserBuild.md>
94-
- Computer Build <./SettingUpAaps/ComputerBuild.md>
94+
- Android Studio Build <./SettingUpAaps/ComputerBuild.md>
95+
- CLI Build <./SettingUpAaps/CLIBuild.md>
9596
Transferring and Installing AAPS <./SettingUpAaps/TransferringAndInstallingAaps.md>
9697
Setup Wizard <./SettingUpAaps/SetupWizard.md>
9798
Your AAPS Profile <./SettingUpAaps/YourAapsProfile.md>
@@ -149,7 +150,7 @@ AAPS Release Notes <./Maintenance/ReleaseNotes.md>
149150
Documentation updates <./Maintenance/DocumentationUpdate.md>
150151
Updating to a new version of AAPS <./Maintenance/UpdateToNewVersion.md>
151152
- Browser Update <./Maintenance/UpdateBrowserBuild.md>
152-
- Computer Update <./Maintenance/UpdateComputerBuild.md>
153+
- Android Studio Update <./Maintenance/UpdateComputerBuild.md>
153154
154155
```
155156

docs/CROWDIN/de/Maintenance/DocumentationUpdate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Docs Updates & Änderungen
22

3+
## March 2026
4+
5+
- [Add CLI Build option](../SettingUpAaps/CLIBuild.md) @je-l
6+
- Rename *Computer Build* to *Android Studio Build*. Preserve file names for URLs.
7+
38
## Januar 2025
49

510
- [3.4](#version3400) Veröffentlichung und Dokumentation aktualisiert Roll-up (Einrichtungsasssistent, Computer Build-Versionen, Konfiguration)

docs/CROWDIN/de/Maintenance/UpdateComputerBuild.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Mit einem PC/Computer aktualisieren
1+
# Update with Android Studio
22

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

@@ -8,7 +8,7 @@ Aufgrund der gesetzlichen Regelungen für Medizinprodukte ist **AAPS** nicht als
88
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.
99
```
1010

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

1313
```{contents} Steps for updating to a new version of AAPS
1414
:depth: 1

docs/CROWDIN/de/Maintenance/UpdateToNewVersion.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@ Aufgrund der gesetzlichen Regelungen für Medizinprodukte ist **AAPS** nicht als
1616

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

19-
## AAPS mit einem Computer aktualisieren
19+
## Update AAPS with Android Studio
2020

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

23+
## Update AAPS with the command-line
24+
25+
Use the [same instructions](../SettingUpAaps/CLIBuild.md) as when building AAPS previously, but pull new changes with git.
26+
2327
(Update-to-new-version-check-aaps-version-on-phone)=
2428

2529
### AAPS-Version auf dem Smartphone überprüfen

0 commit comments

Comments
 (0)