Actualizar a una nueva versión o rama¶
Construyela tú mismo en lugar de descargarla¶
AndroidAPS no está disponible como descarga debido a la regulación de los dispositivos mediales. ¡Es legal construir la aplicación para su propio uso, pero no debe dar una copia a los demás! Consulte la página FAQ para obtener detalles.
Notas importantes¶
- Please update as soon as possible after a new release is available. You will receive an information on the AndroidAPS home screen about the new version.
- A partir de la versión 2.3, debe utilizar git para actualizar. La actualización a través del archivo zip ya no funciona.
- As of version 2.7 repository location changed to https://github.com/nightscout/AndroidAPS. If you are not familiar with git the easiest way for update is remove directory with AndroidAPS and do a new clone.
- Utilice Android Studio Versión 4.1.1 o más reciente para crear el apk.
- Windows 10 sistemas de 32 bits no son compatibles con Android Studio 4.1.1.
- Si está utilizando xDrip, asegúrese de que identifique el receptor.
- You can also use Dexcom G6 with the ‘Build your own Dexcom App’.
Rápido acceso a los usuarios experimentados¶
Please skip this paragraph if you are updating for the first time. El acceso rápido es para usuarios experimentados. El siguiente paso sería instalar git si no lo tiene ya.
If you have already updated AAPS from previous versions and use a Windows PC you can update in four simple steps:
- Export your settings from the existing AAPS version on your phone to be on the save side
- Update local copy (VCS->Git->Pull)
- Genera APK firmado (¡selecciona ‘app’ en vez de ‘reloj’ en tu camino!)
- Depending on your BG source make sure to identify receiver in xDrip or use the ‘Build your own Dexcom App’.
Instalar git (si no lo tienes ya)¶
Siga el manual en git página de instalación.
Actualice su copia local¶
As of version 2.7 repository location changed to https://github.com/nightscout/AndroidAPS. If you are not familiar with git the easiest way for update is remove directory with AndroidAPS and do a new clone.
Pulse: VCS-> Git-> Pull
Pulse en Pull (sin cambios en el campo de diálogo)
Wait while download is in progress.
When done Android Studio will inform you that “all files are up-to-date”.
Generar APK firmado¶
- Click “Build” in the menu bar and select “Generate Signed Bundle / APK...”.
- Seleccione “APK” (1.) en lugar de “Android App Bundle” y haga clic en “Next” (2.).
- Make sure that module is set to “app”.
- Select your key store path by clicking on “Choose existing...”.
- Enter your passwords for key store and key.
- If the box to remember passwords is checked you don’t have to enter them. In case the box was not checked during last build and you cannot remember the passwords refer to the troubleshooting section.
- Haga clic en “Siguiente”.
- Seleccione la variante de compilación “fullRelease” (1.).
- Marque las casillas V1 y V2 para las versiones de firma (2.).
- Haga clic en “Finalizar”. (3.)
- Android Studio mostrará la información “APK(s) generados con éxito...” una vez finalizada la compilación.
- En caso de que la compilación no fuera exitosa, consulte la sección solución de problemas.
- Easiest way to find the apk is to click on “Event log”.
- In the event log section click “locate”.
- app-full-release.apk is the file you are looking for.
Transferir APK a smartphone¶
Easiest way to transfer app-full-release.apk to your phone is via USB cable or Google Drive. Please note that transfer by mail might cause difficulties and is not the preferred way.
On your phone you have to allow installation from unknown sources. Manuals how to do this can be found on the internet (i.e. here or here).
Comprobar la versión de AAPS en el teléfono¶
Puede comprobar la versión de AAPS en su teléfono haciendo clic en el menú de tres puntos en la parte superior derecha y luego acerca.
Solución de problemas¶
Consulte la página separada para la resolución de problemas de Android Studio.