-
This commit is contained in:
parent
851f14e258
commit
ee1a48b0d5
3
.gitignore
vendored
3
.gitignore
vendored
@ -36,6 +36,9 @@ project.xcworkspace
|
||||
.idea
|
||||
.gradle
|
||||
local.properties
|
||||
**/.project
|
||||
**/.settings
|
||||
**/.classpath
|
||||
|
||||
# node.js
|
||||
#
|
||||
|
@ -23,12 +23,12 @@ $ pushy uploadIpa <your-package.ipa>
|
||||
## 发布安卓应用
|
||||
|
||||
首先参考[文档-生成已签名的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
|
||||
$ pushy uploadApk android/app/build/outputs/apk/app-release.apk
|
||||
$ pushy uploadApk android/app/build/outputs/apk/release/app-release.apk
|
||||
```
|
||||
|
||||
即可上传apk以供后续版本比对之用。
|
||||
|
Loading…
Reference in New Issue
Block a user