AAPS is not available to download, due to regulations concerning medical devices. Il est légal de construire l'application pour votre usage personnel, mais vous ne devez en aucun cas donner une copie à d'autres personnes ! See FAQ page for details.
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.
:depth: 1
:local: true
In case you experience problems, see separate page for troubleshooting Android Studio.
Export your settings from the existing AAPS version on your phone. You might not need it, but better be safe than sorry.
See the Export & import settings page if you don't remember how to do this.
The minimal version required is described in the Building Instructions. If your version is older, please update Android Studio first!
(Update-to-new-version-update-your-local-copy)=
:class: warning
If you update from versions prior to 2.8.x, please follow the instructions to do a [New clone](../SettingUpAaps/BuildingAaps.md), as this guide will not work for you!
-
Open your existing AAPS project with Android Studio. You might need to select your project. (Double) click on the AAPS project.
-
In the menu bar of Android Studio, select Git -> Fetch
-
You will see a message in the lower right corner that Fetch was successful.
-
In the menu bar, now select Git -> Pull
-
Leave all options as they are (origin/master) and select Pull
-
Wait while download is in progress, you will see this as info in the bottom bar. Une fois terminé, vous verrez un message de réussite.
The files that were updated may vary! This is not an indication -
Gradle Sync will be running to download some dependencies. Patientez jusqu'à ce que ce soit fini.
This check is particularly indicated if you have already built a previous version of AAPS on the same computer.
Check in the Building Instructions the required version for JVM, matching the AAPS version you are now building. Then follow the steps described at Incompatible Gradle JVM to make sure you currently use the correct version.
(Update-to-new-version-build-the-signed-apk)=
Your sourcecode is now the current released version, and all prerequisites have been checked. It's time to build the signed apk as described in the build signed apk section.
(Update-to-new-version-transfer-and-install)=
You need to transfer the apk to your phone so you can install it.
If you completed the build with the same existing key store in Android Studio, then you do not need to remove the existing app on your phone. Lorsque vous installez l'apk, suivez les instructions pour installer les mises à jour.
Pour d'autres scénarios comme la création d'un nouveau fichier de clés dans Android Studio pour votre apk signé, vous devrez d'abord supprimer l'ancienne application avant d'installer l'apk. **Make sure to export your settings!**
See the instructions for transferring and installing AAPS
Continue here.
Si quelque chose ne va pas, ne paniquez pas.
Respirez un bon coup !
Then see the separate page troubleshooting Android Studio if your problem is already documented!
If you need further help, please reach out to other AAPS users on Facebook or Discord.






