# communal

## 中草药版
- V1.0.0

``` bash
git checkout dev
```

## 通用版  
- V1.3.1
    - 支持iData手机


# 打包环境适配
``` bash

# 安卓环境
sdkmanager --install "platforms;android-28"
sdkmanager --install "build-tools;28.0.0"

# 打包应用
git checkout dev
source /etc/profile.d/android-java11.sh ## 初始化ANDROID及JAVA11环境变量
./gradlew assembleRelease

# 调试日志
adb logcat | grep cpzs.zhongcaoyao

# 快速安装
rm ./app/build/outputs/apk/release/中草药_v*.apk
adb install ./app/build/outputs/apk/release/中草药_v*.apk
```

# 国内镜像
- gradle-wrapper.properties
    - distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-6.5-all.zip

# jks证书

``` bash
keytool -genkey -alias zhongcaoyao -keyalg RSA -keystore zhongcaoyao.jks
# password zhongcaoyao2024
# ln zn
# ou zn
# or zn
# cl zn
# sp zn
# ct CN
```