/AndroidAPS

Use AAPS in China

Primary LanguageKotlinGNU Affero General Public License v3.0AGPL-3.0

AndroidAPS

Support Server

CircleCI Crowdin Documentation Status codecov

DEV: CircleCI codecov

Bitcoin Icon

3KawK8aQe48478s6fxJ8Ms6VTWkwjgr9f2

How to Build

如何编译

If your are familiar with Android development:

  • Fork this repository.
  • Replace keystore/demokeystore.jks with your own key store file.
  • Add below secrets in the Actions secrets and variables settings of your repository.
    Screenshot of Actions secrets
    KEY_ALIAS: Key alais of your key store file. KEY_PASSWORD: key password of your key store file. STORE_FILE: Path of your key store file in your repository. STORE_PASSWORD: Store password of your key store file.
  • Trigger build in Github Actions
  • Download the aaps.zip file in Artifacts

如果你熟悉安卓开发:

  • 克隆此代码仓库到你自己的Github账号
  • 用你自己的安卓签名文件替换你克隆的仓库中的keystore/demokeystore.jks
  • 在你克隆的仓库设置中的 Actions secrets and variables 选项中添加如下秘密环境变量:
    Screenshot of Actions secrets
    KEY_ALIAS: 你的安卓签名文件的key alias。 KEY_PASSWORD: 你的安卓签名文件的key密码。 STORE_FILE: 你的安卓签名文件的路径。 STORE_PASSWORD: 你的安卓签名文件的store密码。
  • 在Github Actions中触发编译
  • 下载Artifacts中的编译产物aaps.zip

If your are NOT familiar with Android development:

You need to get the secerts of the key store file to sign your application. For security reason, all of the passwords are NOT in this repoitory. It's really recommanded that you can sign your apk file with your own key store file after learning some Android knowledge. Please follow these steps:

  • Fork this repository.
  • Scan the below QR code and subscribe "一型码农Lex" WeChat Channel.
    WeChat Channel QR code
  • Join the WeChat group and ask for the secrets. (Get the WeChat group QR code form the middle menu of "一型码农Lex" WeChat Channel. Scan to join.)
  • Add below secrets in the Actions secrets and variables settings of your repository.
    Screenshot of Actions secrets
    KEY_ALIAS, KEY_PASSWORD, STORE_FILE, STORE_PASSWORD.
  • Trigger build in Github Actions
  • Download the aaps.zip file in Artifacts

如果你不熟悉安卓开发:

你需要获取安卓签名文件的密码等信息,因安全原因,这些敏感信息不能公开发布于此。 强烈建议学习相关知识,编译完APK后,用你自己的签名文件签名。 请按如下步骤操作:

  • 克隆此代码仓库到你自己的Github账号
  • 扫描下方二维码关注“一型码农Lex”微信公众号。Scan the below QR code and subscribe "一型码农Lex" WeChat Channel.
    WeChat Channel QR code
  • 点击“一型码农Lex”微信公众号的中间菜单,获取入群二维码。进去索要签名文件的密码。
  • 在你克隆的仓库设置中的 Actions secrets and variables 选项中添加如下秘密环境变量:
    Screenshot of Actions secrets
    KEY_ALIAS, KEY_PASSWORD, STORE_FILE, STORE_PASSWORD,这些变量的值都在群中。
  • 在Github Actions中触发编译
  • 下载Artifacts中的编译产物aaps.zip