From ce82428b1595526108bd90acf0c24ba2940569c6 Mon Sep 17 00:00:00 2001 From: YuTin Liu Date: Thu, 4 Aug 2016 22:10:58 -0700 Subject: [PATCH] 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 --- docs/SignedAPKAndroid.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/SignedAPKAndroid.md b/docs/SignedAPKAndroid.md index 6b17537c3..79e799b9a 100644 --- a/docs/SignedAPKAndroid.md +++ b/docs/SignedAPKAndroid.md @@ -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: ```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.