1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm 2019-07-05 00:28:54 +08:00
parent 851f14e258
commit ee1a48b0d5
2 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View File

@ -36,6 +36,9 @@ project.xcworkspace
.idea .idea
.gradle .gradle
local.properties local.properties
**/.project
**/.settings
**/.classpath
# node.js # node.js
# #

View File

@ -23,12 +23,12 @@ $ pushy uploadIpa <your-package.ipa>
## 发布安卓应用 ## 发布安卓应用
首先参考[文档-生成已签名的APK](https://reactnative.cn/docs/signed-apk-android.html#content)设置签名, 首先参考[文档-生成已签名的APK](https://reactnative.cn/docs/signed-apk-android.html#content)设置签名,
然后在android文件夹下运行`./gradlew assembleRelease`,你就可以在`android/app/build/outputs/apk/app-release.apk`中找到你的应用包。 然后在android文件夹下运行`./gradlew assembleRelease`或`./gradlew aR`,你就可以在`android/app/build/outputs/apk/release/app-release.apk`中找到你的应用包。
然后运行如下命令 然后运行如下命令
```bash ```bash
$ pushy uploadApk android/app/build/outputs/apk/app-release.apk $ pushy uploadApk android/app/build/outputs/apk/release/app-release.apk
``` ```
即可上传apk以供后续版本比对之用。 即可上传apk以供后续版本比对之用。