docs(android): install release for android

Summary:
maybe, it is a better command.
Closes https://github.com/facebook/react-native/pull/9057

Differential Revision: D3674229

fbshipit-source-id: 0767371646c75c5743214b2695064fb61666c7c4
This commit is contained in:
YuTin Liu 2016-08-04 22:10:58 -07:00 committed by Facebook Github Bot 6
parent 46bac5fbba
commit ce82428b15
1 changed files with 2 additions and 2 deletions

View File

@ -87,10 +87,10 @@ The generated APK can be found under `android/app/build/outputs/apk/app-release.
Before uploading the release build to the Play Store, make sure you test it thoroughly. Install it on the device using: Before uploading the release build to the Play Store, make sure you test it thoroughly. Install it on the device using:
```sh ```sh
$ cd android && ./gradlew installRelease $ react-native run-android --variant=release
``` ```
Note that `installRelease` is only available if you've set up signing as described above. Note that `--variant=release` is only available if you've set up signing as described above.
You can kill any running packager instances, all your and framework JavaScript code is bundled in the APK's assets. You can kill any running packager instances, all your and framework JavaScript code is bundled in the APK's assets.